/* ============================================================
   DAILY HUSTLE PRO — Design System v4 (Premium Light UI)
   Custom-Crafted, Fast, Sleek Layout for Modern Builders
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    
    /* Borders */
    --border-subtle: #f1f5f9;
    --border-default: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: #1a73e8;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    /* Accent Palette */
    --accent-blue: #1a73e8;
    --accent-blue-hover: #1557b0;
    --accent-purple: #7c3aed;
    --accent-indigo: #4f46e5;
    --accent-emerald: #10b981;
    --accent-red: #ef4444;
    --accent-amber: #f59e0b;

    /* Gradients */
    --gradient-tech: linear-gradient(135deg, #1a73e8 0%, #7c3aed 100%);
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;

    /* Spacing */
    --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
    --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 80px;

    /* Border Radius */
    --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px;
    --radius-xl: 16px; --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 10px 10px -5px rgba(0, 0, 0, 0.01);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms; --duration-normal: 200ms; --duration-slow: 300ms;
}

/* --- Base Resets --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
ul, ol { list-style: none; }

/* --- Layout Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--text-primary); line-height: 1.25; letter-spacing: -0.02em; }
.text-gradient {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
    font-weight: 600; font-size: 0.875rem; padding: 10px 18px; border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-smooth); white-space: nowrap; border: 1px solid transparent;
}
.btn-primary { background: var(--accent-blue); color: #ffffff; }
.btn-primary:hover { background: var(--accent-blue-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: #ffffff; color: var(--text-secondary); border: 1px solid var(--border-default); }
.btn-secondary:hover { background: var(--bg-secondary); border-color: var(--border-hover); color: var(--text-primary); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.02); color: var(--text-primary); }
.btn-large { padding: 12px 24px; font-size: 0.95rem; }
.btn-small { padding: 6px 12px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-full { width: 100%; }

/* --- Form Fields --- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 10px 14px; background: #ffffff; border: 1px solid var(--border-default);
    border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.9rem;
    transition: all var(--duration-normal) var(--ease-smooth);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-md); }
.form-checkbox { display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); user-select: none; }
.form-checkbox input { width: 16px; height: 16px; accent-color: var(--accent-blue); cursor: pointer; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); }

/* --- Range Sliders --- */
.range-slider {
    -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
    background: var(--border-default); outline: none; cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-blue); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform var(--duration-fast);
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

/* --- Badges --- */
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(26, 115, 232, 0.06); color: var(--accent-blue); border: 1px solid rgba(26, 115, 232, 0.12);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue); }

/* --- Site Header & Exposed Navigation --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default); transition: all var(--duration-normal);
}
.site-header.scrolled { background: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); }
.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    position: relative;
    width: 100%;
}
@media (min-width: 1025px) {
    .header-inner {
        min-height: 80px;
        padding: 0;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.02),
        inset 0 1px 0 rgba(255,255,255,0.7);
    perspective: 800px;
    transform-style: preserve-3d;
    transform: perspective(800px) rotateX(10deg) rotateY(-10deg);
    transition: all var(--duration-normal) var(--ease-bounce);
    cursor: pointer;
}
.logo:hover {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(-2px);
    box-shadow: 
        0 12px 20px rgba(26, 115, 232, 0.08),
        0 4px 6px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(26, 115, 232, 0.2);
}
.logo-mark {
    width: 18px;
    height: 18px;
    background: var(--gradient-tech);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    transform: translateZ(12px);
    box-shadow: 0 3px 6px rgba(26, 115, 232, 0.25);
}
.logo-text {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    transform: translateZ(8px);
}
.logo-dot {
    color: var(--accent-purple);
    font-size: 1.5rem;
    font-weight: 900;
    transform: translateZ(10px);
    line-height: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    width: auto;
}
.nav-group {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
}
.nav-group-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
    border-right: 1px solid var(--border-default);
    padding-right: 6px;
}
.nav-link {
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-smooth);
    white-space: nowrap;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 110;
}
.hamburger {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: transform var(--duration-normal) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth);
}
.mobile-menu-btn.open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open .hamburger span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === HERO SECTION === */
.hero {
    background-color: #ffffff; padding: calc(80px + var(--space-4xl)) 0 var(--space-2xl);
    text-align: center; border-bottom: 1px solid var(--border-default);
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-badge { margin-bottom: var(--space-md); }
.hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: var(--space-md); }
.hero-subtitle { font-size: clamp(0.9rem, 2vw, 1.05rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto var(--space-lg); line-height: 1.6; }

/* Dashboard Live Search */
.search-container { max-width: 580px; margin: 0 auto var(--space-xl); }
.search-input-wrapper {
    position: relative; display: flex; align-items: center;
    background: #ffffff; border: 1px solid var(--border-hover); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden; transition: all var(--duration-normal);
}
.search-input-wrapper:focus-within { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15); }
.search-icon { position: absolute; left: 16px; color: var(--text-muted); pointer-events: none; }
.search-input { width: 100%; border: none; padding: 14px 14px 14px 48px; font-size: 0.95rem; color: var(--text-primary); }

.hero-stats { display: flex; gap: var(--space-2xl); justify-content: center; margin-top: var(--space-xl); }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.25rem; font-weight: 800; color: var(--accent-blue); }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; font-weight: 600; }

/* === CATEGORY FILTER TABS === */
.category-tabs {
    display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-2xl);
}
.category-tab {
    padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600;
    color: var(--text-secondary); background: #ffffff; border: 1px solid var(--border-default);
    transition: all var(--duration-normal);
}
.category-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.category-tab.active { background: var(--accent-blue); color: #ffffff; border-color: var(--accent-blue); box-shadow: var(--shadow-sm); }

/* === SHOWCASE GRID & CARDS === */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.tool-card {
    background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--duration-normal) var(--ease-smooth); cursor: pointer; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: var(--shadow-lg); }
.tool-card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }

.tool-card-icon-wrapper {
    width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(26, 115, 232, 0.05);
    color: var(--accent-blue); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md);
}
.tool-card:nth-child(even) .tool-card-icon-wrapper { background: rgba(124, 58, 237, 0.05); color: var(--accent-purple); }

.tool-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.tool-card-desc { font-size: 0.825rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: var(--space-lg); flex: 1; }
.tool-card-arrow {
    display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700; color: var(--accent-blue);
    text-transform: uppercase; letter-spacing: 0.05em; transition: gap var(--duration-fast);
}
.tool-card:hover .tool-card-arrow { gap: 8px; }

/* === FEATURES GRID === */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.feature-item { text-align: center; padding: var(--space-xl) var(--space-sm); }
.feature-icon-wrapper {
    width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(26, 115, 232, 0.05);
    color: var(--accent-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-md);
}
.feature-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.feature-desc { font-size: 0.775rem; color: var(--text-muted); line-height: 1.5; }

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-title { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; margin-bottom: 6px; }
.section-subtitle { font-size: 0.9rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* === TOOL PAGES & PANELS === */
.tool-page { display: none; padding-top: calc(80px + var(--space-lg)); min-height: 100vh; }
.tool-page.active { display: block; animation: fadeInUp var(--duration-slow) var(--ease-smooth); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-header { padding: var(--space-xl) 0 var(--space-lg); border-bottom: 1px solid var(--border-default); margin-bottom: var(--space-xl); }
.tool-header-breadcrumb { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.tool-header-breadcrumb a { color: var(--text-muted); }
.tool-header-breadcrumb a:hover { color: var(--accent-blue); }
.tool-title { font-size: clamp(1.35rem, 3vw, 1.65rem); font-weight: 800; margin-bottom: 4px; }
.tool-description { font-size: 0.875rem; color: var(--text-secondary); max-width: 600px; }

.tool-body { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-xl); padding-bottom: var(--space-3xl); }
.tool-body-full { grid-template-columns: 1fr; }
.tool-panel { background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-sm); }
.tool-panel-title { font-size: 0.9rem; font-weight: 700; margin-bottom: var(--space-lg); display: flex; align-items: center; gap: var(--space-sm); border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; }

/* === INVOICE PREVIEW === */
.invoice-preview { background: #ffffff; color: #1e293b; border-radius: var(--radius-md); padding: var(--space-xl); border: 1px solid var(--border-default); box-shadow: var(--shadow-md); font-size: 0.8rem; }
.invoice-preview-header { display: flex; justify-content: space-between; margin-bottom: var(--space-xl); padding-bottom: var(--space-md); border-bottom: 1.5px solid #cbd5e1; }
.invoice-preview-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.invoice-preview-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: #64748b; margin-bottom: 2px; }
.invoice-preview-value { color: #334155; }
.invoice-preview-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }

.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-lg); }
.invoice-table th { text-align: left; padding: 8px; border-bottom: 1.5px solid #cbd5e1; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: #64748b; }
.invoice-table th:last-child { text-align: right; }
.invoice-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.invoice-table td:last-child { text-align: right; font-weight: 600; }

.invoice-totals { display: flex; justify-content: flex-end; }
.invoice-totals-table { width: 220px; }
.invoice-total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.775rem; color: #64748b; }
.invoice-total-row.grand-total { border-top: 1.5px solid #0f172a; margin-top: 4px; padding-top: 8px; font-weight: 800; font-size: 0.95rem; color: #0f172a; }
.invoice-footer { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid #e2e8f0; font-size: 0.725rem; color: #94a3b8; }
.line-items-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.line-item-row { display: grid; grid-template-columns: 2fr 0.6fr 0.7fr auto; gap: var(--space-xs); align-items: end; }
.line-item-remove { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--text-muted); margin-bottom: 3px; }
.line-item-remove:hover { color: var(--accent-red); background: #fef2f2; }

/* === FINANCIAL RATE RESULTS === */
.rate-result { text-align: center; padding: var(--space-lg); background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius-lg); margin-bottom: var(--space-lg); }
.rate-result-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--accent-blue); margin-bottom: 2px; }
.rate-result-value { font-size: 2.25rem; font-weight: 800; color: #1e3a8a; }
.rate-result-suffix { font-size: 0.85rem; font-weight: 600; color: #60a5fa; }
.rate-breakdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.rate-breakdown-item { padding: 12px; background: var(--bg-secondary); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.rate-breakdown-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.rate-breakdown-value { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.tax-auto-badge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: var(--radius-full); font-size: 0.65rem; font-weight: 700; background: rgba(16, 185, 129, 0.08); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.15); margin-left: var(--space-xs); }

/* === TEXT WRITING UTILS === */
.word-counter-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: var(--space-sm); margin-bottom: var(--space-md); }
.word-stat { background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 12px; text-align: center; }
.word-stat-value { font-size: 1.25rem; font-weight: 800; color: var(--accent-blue); margin-bottom: 2px; }
.word-stat-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.word-counter-textarea { width: 100%; min-height: 280px; padding: var(--space-md); background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-lg); color: var(--text-primary); font-size: 0.95rem; line-height: 1.7; transition: border-color var(--duration-normal); font-family: var(--font-main); }

/* === PASSWORD STRENGTH UI === */
.password-display { background: var(--bg-secondary); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 14px var(--space-lg); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); min-height: 60px; }
.password-text { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--accent-blue); word-break: break-all; flex: 1; }
.strength-meter { display: flex; gap: 4px; margin-bottom: 6px; }
.strength-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--border-default); }
.strength-bar.active.weak { background: var(--accent-red); }
.strength-bar.active.fair { background: var(--accent-amber); }
.strength-bar.active.good { background: var(--accent-indigo); }
.strength-bar.active.strong { background: var(--accent-emerald); }
.strength-label { font-size: 0.8rem; font-weight: 600; margin-bottom: var(--space-xs); }
.crack-time { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: var(--space-xl); padding: 8px 12px; background: #ffffff; border-radius: var(--radius-sm); border: 1px solid var(--border-default); }
.password-options { display: flex; flex-direction: column; gap: var(--space-sm); }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.slider-value { font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; color: var(--accent-blue); }

/* === PALETTES HARMONIES === */
.palette-display { display: flex; border-radius: var(--radius-lg); overflow: hidden; min-height: 180px; margin-bottom: var(--space-lg); border: 1px solid var(--border-default); }
.palette-swatch { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: var(--space-md); cursor: pointer; position: relative; transition: all var(--duration-normal) var(--ease-smooth); }
.palette-swatch:hover { flex: 1.25; }
.palette-swatch-info { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; padding: 6px 8px; background: #ffffff; border-radius: var(--radius-sm); color: var(--text-primary); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-default); }
.palette-lock { position: absolute; top: var(--space-sm); right: var(--space-sm); width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: #ffffff; color: var(--text-secondary); font-size: 0.75rem; opacity: 0; transition: all var(--duration-normal); cursor: pointer; border: 1px solid var(--border-default); box-shadow: var(--shadow-sm); }
.palette-swatch:hover .palette-lock { opacity: 0.9; }
.palette-lock.locked { opacity: 1; background: var(--accent-blue); color: #ffffff; border-color: var(--accent-blue); }
.palette-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); }
.palette-harmony-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.harmony-btn { padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); background: #ffffff; border: 1px solid var(--border-default); cursor: pointer; transition: all var(--duration-normal); }
.harmony-btn.active { background: var(--accent-blue); color: #ffffff; border-color: var(--accent-blue); }
.export-panel { margin-top: var(--space-lg); padding: var(--space-md); background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.export-panel pre { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); line-height: 1.6; padding: 12px; background: var(--bg-secondary); border-radius: var(--radius-sm); overflow-x: auto; border: 1px solid var(--border-subtle); }

/* === PROFIT COMPOSITIONS === */
.profit-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.profit-result-card { text-align: center; padding: 14px; background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.profit-result-value { font-size: 1.35rem; font-weight: 800; margin-bottom: 2px; }
.profit-result-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.profit-bar-container { margin-top: var(--space-lg); padding: 14px; background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.profit-bar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.profit-bar-track { width: 100%; height: 16px; background: var(--bg-secondary); border-radius: var(--radius-full); overflow: hidden; border: 1px solid var(--border-subtle); }
.profit-bar-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.4s var(--ease-smooth); }
.profit-bar-fill.positive { background: var(--accent-emerald); }
.profit-bar-fill.negative { background: var(--accent-red); }

/* === AD PLACEMENTS === */
.ad-zone { background: #ffffff; border: 1px dashed var(--border-hover); border-radius: var(--radius-md); padding: var(--space-lg); text-align: center; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.ad-zone-banner { margin: var(--space-lg) 0; }
.ad-zone-sidebar { margin-top: var(--space-lg); }

/* === FAQ INTERACTIVE LISTS === */
.faq-section { padding: var(--space-xl) 0; border-top: 1px solid var(--border-default); margin-top: var(--space-lg); }
.faq-title { font-size: 1.1rem; font-weight: 800; margin-bottom: var(--space-md); color: var(--text-primary); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq-item { background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; padding: var(--space-md); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.825rem; color: var(--text-primary); cursor: pointer; text-align: left; }
.faq-question::after { content: '+'; font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; margin-left: var(--space-md); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--duration-normal) var(--ease-smooth); }
.faq-answer-inner { padding: 0 var(--space-md) var(--space-md); font-size: 0.775rem; color: var(--text-secondary); line-height: 1.6; }

/* === EMAIL CONVERSION FORM === */
.email-capture { background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-xl); text-align: center; box-shadow: var(--shadow-sm); }
.email-capture-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.email-capture-subtitle { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: var(--space-lg); }
.email-capture-form { display: flex; gap: var(--space-xs); max-width: 400px; margin: 0 auto; }
.email-capture-form .form-input { flex: 1; }

/* === FOOTER LAYOUT === */
.site-footer { background: #ffffff; border-top: 1px solid var(--border-default); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-xl); padding-bottom: var(--space-md); margin-bottom: var(--space-md); border-bottom: 1px solid var(--border-subtle); }
.footer-brand-desc { color: var(--text-muted); font-size: 0.775rem; margin-top: 8px; max-width: 260px; line-height: 1.6; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-secondary); margin-bottom: var(--space-md); letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-link { color: var(--text-muted); font-size: 0.775rem; transition: color var(--duration-fast); }
.footer-link:hover { color: var(--accent-blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.75rem; }

/* === GDPR COMPLIANT NOTICE === */
.cookie-notice {
    position: fixed; bottom: var(--space-md); left: var(--space-md); right: var(--space-md);
    max-width: 420px; background: #ffffff; border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg); padding: var(--space-md); z-index: 1000;
    box-shadow: var(--shadow-premium); display: flex; flex-direction: column; gap: var(--space-sm);
    animation: slideUp var(--duration-normal) var(--ease-smooth);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-text { font-size: 0.775rem; color: var(--text-secondary); line-height: 1.5; }
.cookie-actions { display: flex; justify-content: flex-end; gap: var(--space-sm); }

/* === TOAST POPUPS === */
.toast {
    position: fixed; bottom: var(--space-md); left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--text-primary); color: var(--bg-primary); padding: 10px 20px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow-lg); z-index: 1200; opacity: 0;
    transition: all var(--duration-normal) var(--ease-bounce); pointer-events: none;
}
.toast.show { opacity: 0.95; transform: translateX(-50%) translateY(0); }

/* === PRINT ENGINE === */
@media print {
    body * { visibility: hidden; }
    .invoice-preview, .invoice-preview * { visibility: visible; }
    .invoice-preview { position: absolute; left: 0; top: 0; width: 100%; padding: 0; border: none; box-shadow: none; }
    .site-header, .site-footer, .ad-zone, .tool-panel, .tool-header, .btn, .faq-section, .cookie-notice { display: none !important; }
}

/* === RESPONSIVE LAYOUT BREAKPOINTS === */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-default);
        padding: var(--space-md) var(--space-lg);
        box-shadow: var(--shadow-lg);
        z-index: 99;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        gap: var(--space-md);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-group {
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
        gap: 4px;
        border-bottom: 1px dashed var(--border-default);
        padding-bottom: var(--space-sm);
    }
    .nav-group:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .nav-group-title {
        font-size: 0.7rem;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: var(--space-xs);
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
    .nav-link {
        display: block;
        padding: 8px 12px;
        border-radius: var(--radius-md);
        font-size: 0.85rem;
        text-align: left;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--accent-blue);
        background: var(--bg-secondary);
    }
    
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .tool-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-md); }
    .tools-grid, .features-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: var(--space-md); }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
    .tool-body { grid-template-columns: 1fr; }
    .line-item-row { grid-template-columns: 1fr; gap: var(--space-xs); padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); }
    .rate-breakdown { grid-template-columns: 1fr; }
    .profit-results { grid-template-columns: 1fr; }
    .palette-display { flex-direction: column; min-height: auto; }
    .palette-swatch { min-height: 60px; }
    .palette-swatch:hover { flex: 1; }
    .email-capture-form { flex-direction: column; }
    .hero-cta { flex-direction: column; align-items: center; }
}