/* ===== LIFE-WASTED SPECIFIC STYLES ===== */

/* ===== BREADCRUMB ===== */
.breadcrumb {
    margin: 1.5rem 0 2.5rem;
    padding: 0.75rem 0;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    font-size: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.breadcrumb a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.breadcrumb span[aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

/* ===== TOOL PAGE ===== */
.tool-page {
    padding: 1.5rem 0 4rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.tool-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.tool-subtitle {
    text-align: center;
    color: var(--text-light);
    margin: 1.5rem auto 3rem;
    max-width: 800px;
    font-size: 1.125rem;
    line-height: 1.6;
    padding: 0 1rem;
}

/* ===== TOOL FORM ===== */
.tool-form-container {
    max-width: 800px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    transition: var(--transition);
}

.tool-form:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== FORM SECTIONS ===== */
.form-section-life {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.form-section-life:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-life h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.input-group-life {
    margin-top: 1.5rem;
}

/* ===== INPUT WITH UNIT ===== */
.input-with-unit {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.input-with-unit input {
    flex: 1;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-with-unit input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.input-unit {
    font-size: 1.25rem;
    color: var(--text-light);
    min-width: 100px;
    font-weight: 500;
}

.input-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

/* ===== SCREEN PRESETS ===== */
.screen-presets {
    margin-top: 2rem;
}

.preset-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.preset-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.preset-btn-life {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.preset-btn-life:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== SCREEN SLIDER ===== */
.screen-slider-container {
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.slider-wrapper {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.screen-slider {
    width: 90%;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, 
        #4CAF50 0%, 
        #8BC34A 20%, 
        #FFC107 40%, 
        #FF9800 60%, 
        #FF5722 80%, 
        #F44336 100%
    );
    outline: none;
    -webkit-appearance: none;
    margin: 0 auto;
    display: block;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.screen-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.screen-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0 1rem;
}

/* ===== TIME ESTIMATES ===== */
.time-estimates-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.time-estimates-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.estimates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.estimate-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.estimate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.estimate-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.estimate-content {
    flex: 1;
}

.estimate-title {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.estimate-value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.25rem;
    min-height: 30px;
    display: flex;
    align-items: center;
}

/* ===== DISCLAIMER ===== */
.disclaimer-life {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius);
    border-left: 6px solid var(--secondary-color);
    margin: 2.5rem auto;
    align-items: flex-start;
    max-width: 800px;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content h4 {
    margin-top: 0;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.disclaimer-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    min-width: 280px;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.form-actions .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== LIFE FUN FACTS ===== */
.life-fun-facts {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px dashed var(--border-color);
    text-align: center;
}

.life-fun-facts h3 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fact-card-life {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.fact-card-life:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.fact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.fact-details {
    flex: 1;
}

.fact-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.fact-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== EXAMPLE RESULTS ===== */
.example-results-life {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px dashed var(--border-color);
    text-align: center;
}

.example-results-life h3 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.example-result {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-result:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.example-age {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.example-screen {
    font-size: 0.95rem;
    color: var(--text-light);
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.example-productive {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

/* ===== RESULTS SECTION ===== */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.results-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    font-style: italic;
}

.results-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.results-card.screenshot-friendly {
    position: relative;
}

.screenshot-friendly::before {
    content: '📸 Screenshot ready!';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== LIFE WASTED STATS ===== */
.life-wasted-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.life-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.life-stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.life-stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    padding: 1rem;
}

.life-stat-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
}

.life-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.life-stat-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    width: 100%;
}

/* ===== PRODUCTIVITY SUMMARY ===== */
.productivity-summary {
    margin-bottom: 3rem;
}

.summary-card-main {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.summary-card-main h3 {
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* ===== PRODUCTIVITY METER ===== */
.productivity-meter {
    margin: 2rem 0;
}

.meter-bar {
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--border-color);
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #FFC107, #FF9800, #FF5722, #F44336);
    border-radius: 14px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.meter-value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.125rem;
}

.productivity-numbers {
    display: flex;
    justify-content: space-around;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.prod-number {
    text-align: center;
    padding: 1rem;
    min-width: 200px;
}

.prod-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.prod-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.summary-explanation {
    text-align: center;
    font-size: 1.25rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.6;
}

.summary-explanation strong {
    color: var(--primary-color);
}

/* ===== ASSESSMENT CARD ===== */
.assessment-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    border-radius: var(--radius);
    border-left: 6px solid var(--primary-color);
    margin: 2.5rem 0;
}

.assessment-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-color);
    flex: 1;
}

.assessment-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== REALITY CHECK ===== */
.reality-check {
    margin-bottom: 3rem;
}

.reality-check h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comparison-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.comparison-card:hover {
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.comparison-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.comparison-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}

.fun-fact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
    margin: 2rem auto;
    max-width: 800px;
}

.fact-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.fact-content {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
}

/* ===== TIME DISTRIBUTION ===== */
.time-distribution {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.time-distribution h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.distribution-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.distribution-chart {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Dynamic Pie Chart with CSS Variables */
.chart-visual-pie {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: conic-gradient(
        #4dabf7 0% var(--sleep-percentage, 0%),
        #ff6b6b var(--sleep-percentage, 0%) calc(var(--sleep-percentage, 0%) + var(--scroll-percentage, 0%)),
        #51cf66 calc(var(--sleep-percentage, 0%) + var(--scroll-percentage, 0%)) calc(var(--sleep-percentage, 0%) + var(--scroll-percentage, 0%) + var(--wait-percentage, 0%)),
        #ffd43b calc(var(--sleep-percentage, 0%) + var(--scroll-percentage, 0%) + var(--wait-percentage, 0%)) 100%
    );
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-card);
    position: relative;
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
}

/* Add a center circle to make it look like a donut chart */
.chart-visual-pie::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--bg-card);
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-visual-pie:hover {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.distribution-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: 600px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sleep-color { background: #4dabf7; }
.scroll-color { background: #ff6b6b; }
.wait-color { background: #51cf66; }
.productive-color { background: #ffd43b; }

.legend-percentage {
    margin-left: auto;
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
}

/* ===== ACTION BUTTONS ===== */
.life-action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.action-btn-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    min-width: 220px;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 1.125rem;
}

.action-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== SEO INTRO CARD ===== */
.seo-intro-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.seo-intro-card h2 {
    margin-top: 0;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.seo-intro-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.seo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit h3 {
    font-size: 1.25rem;
    margin: 0.75rem 0;
    color: var(--text-color);
}

.benefit p {
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* ===== HOW IT WORKS ===== */
.how-it-works-life {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px dashed var(--border-color);
    text-align: center;
}

.how-it-works-life h2 {
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.step-details h3 {
    margin: 0.75rem 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.step-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 2px dashed var(--border-color);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    flex: 1;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: var(--bg-secondary);
}

.faq-answer.active {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 4rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

/* ===== RELATED TOOLS ===== */
.related-tools {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.related-tools h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.75rem;
    color: var(--text-color);
}

.tools-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-card-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.tool-card-mini:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool-icon-mini {
    font-size: 2.5rem;
    display: block;
}

.tool-name-mini {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.125rem;
}

.tool-desc-mini {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-content {
    flex: 1;
}

.note-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .tool-title {
        font-size: 2rem;
    }
    
    .tool-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .tool-form {
        padding: 1.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 1.25rem;
    }
    
    .input-with-unit {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-unit {
        margin-top: 0.5rem;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preset-btn-life {
        width: 100%;
    }
    
    .life-wasted-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
    }
    
    .life-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn-main {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    .distribution-visual {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-visual-pie {
        width: 220px;
        height: 220px;
    }
    
    .chart-visual-pie::after {
        width: 110px;
        height: 110px;
    }
    
    .results-card {
        padding: 1.75rem;
    }
    
    .results-header h2 {
        font-size: 2rem;
    }
    
    .life-stat-value {
        font-size: 2rem;
    }
    
    .assessment-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .assessment-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .seo-intro-card {
        padding: 2rem 1.5rem;
    }
    
    .seo-benefits {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-section h2,
    .how-it-works-life h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 1.25rem 2rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .tool-title {
        font-size: 1.75rem;
    }
    
    .tool-form {
        padding: 1.5rem;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr;
    }
    
    .chart-visual-pie {
        width: 180px;
        height: 180px;
    }
    
    .chart-visual-pie::after {
        width: 90px;
        height: 90px;
    }
    
    .distribution-legend {
        grid-template-columns: 1fr;
    }
    
    .productivity-numbers {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prod-number {
        min-width: auto;
    }
    
    .action-btn-main {
        padding: 1rem;
    }
    
    .tools-grid-mini {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb ol {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .breadcrumb li:not(:last-child)::after {
        display: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .tool-form,
    .theme-toggle,
    .back-to-top,
    .ad-section,
    .footer,
    .cta-section,
    .related-tools {
        display: none !important;
    }
    
    .results-card {
        border: 2px solid #000;
        box-shadow: none !important;
        margin: 0;
        padding: 1rem;
    }
    
    .life-wasted-stats {
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}