/* ============================================
   TOOLS PAGE (coming soon)
   Page-specific styles; shared tokens live in style.css
============================================ */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tools-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-card {
    width: 100%;
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    text-align: center;
    animation: card-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(32px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Icon */
.uc-icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.75rem;
}
.uc-icon-bg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(14, 165, 233, 0.12));
    border: 2px dashed rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: spin-slow 12s linear infinite;
}
.dark .uc-icon-bg { border-color: rgba(245, 158, 11, 0.5); }

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

.uc-icon-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: wrench-wiggle 2.5s ease-in-out infinite;
}

@keyframes wrench-wiggle {
    0%, 100% { transform: rotate(-12deg); }
    50%      { transform: rotate(12deg); }
}

/* Badge */
.uc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
    margin-bottom: 1.25rem;
}
.dark .uc-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}
.uc-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.2; }
}

/* Typography */
.uc-title {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 60%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark .uc-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #7dd3fc 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.uc-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary-light);
    line-height: 1.75;
    max-width: 380px;
    margin: 0 auto 2rem;
}
.dark .uc-subtitle { color: var(--text-secondary-dark); }

/* Progress */
.progress-wrap {
    margin-bottom: 2rem;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary-light);
    margin-bottom: 0.5rem;
}
.dark .progress-label { color: var(--text-secondary-dark); }
.progress-label span:last-child { color: var(--brand); }

.progress-bar-bg {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-pill);
    background: rgba(14, 165, 233, 0.1);
    overflow: hidden;
}
.dark .progress-bar-bg { background: rgba(56, 189, 248, 0.1); }

.progress-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand-dark), var(--brand), #38bdf8);
    background-size: 200% 100%;
    width: 0%;
    animation: fill-bar 1.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               shimmer 2s 2.2s linear infinite;
}
@keyframes fill-bar {
    to { width: 35%; }
}
@keyframes shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Checklist */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
    text-align: left;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--text-secondary-light);
}
.dark .checklist li { color: var(--text-secondary-dark); }
.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}
.check-done { background: rgba(52, 211, 153, 0.15); color: #10b981; }
.check-wip  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.check-todo { background: rgba(148, 163, 184, 0.1); color: #94a3b8; }

/* Back button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    background: var(--brand-strong);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 16px rgba(3, 105, 161, 0.35);
    transition: all var(--transition);
}
.btn-back:hover {
    background: var(--brand-strong-hover);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .tools-page { padding: 2.5rem 1rem 1.5rem; }
    .uc-card { padding: 2rem 1.5rem; }
}
