/* ===================================
   Skills Case Study - Clean & Minimal
   =================================== */

/* Variables - Matching Skills Brand */
:root {
    --skillz-black: #111111;
    --skillz-gray-900: #2d2d2d;
    --skillz-gray-700: #4a4a4a;
    --skillz-gray-500: #737373;
    --skillz-gray-300: #b3b3b3;
    --skillz-gray-100: #f5f5f5;
    --skillz-white: #ffffff;
    --skillz-teal:   #4ECFAA;   /* mint — primary */
    --skillz-navy:   #111111;   /* black — secondary dark */
    --skillz-orange: #4ECFAA;   /* repurposed → mint */
    --skillz-accent: #4ECFAA;
    --skillz-accent-light: #E6F8F3;
    --skillz-mint:       #4ECFAA;
    --skillz-mint-med:   #38B896;
    --skillz-mint-dark:  #28957A;
    --skillz-mint-light: #E6F8F3;
    --skillz-cream:      #FDF8F2;
    --skillz-cream-med:  #F5EDE0;
}

/* Body */
.skillz-body {
    background: var(--skillz-white);
    color: var(--skillz-gray-900);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
}

/* Navigation Override */
.skillz-nav {
    background: var(--skillz-white);
    border-bottom: 1px solid var(--skillz-gray-100);
}

.skillz-nav .nav-logo {
    font-weight: 500;
    color: var(--skillz-gray-500);
    font-size: 0.9rem;
}

.skillz-nav .nav-logo:hover {
    color: var(--skillz-black);
}

/* ===================================
   Hero
   =================================== */
.skillz-hero {
    padding: 10rem 0 6rem;
    background: #FDF8F2;
    position: relative;
    overflow: hidden;
}

.skillz-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 160%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, 
        rgba(78, 207, 170, 0.28) 0%, 
        rgba(107, 220, 185, 0.15) 30%, 
        rgba(230, 248, 243, 0.10) 60%, 
        transparent 80%);
    animation: skillzBlobFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes skillzBlobFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(10%, 5%) rotate(3deg) scale(1.05);
    }
    50% {
        transform: translate(-5%, 10%) rotate(-2deg) scale(0.95);
    }
    75% {
        transform: translate(-10%, -5%) rotate(2deg) scale(1.02);
    }
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--skillz-accent);
    background: var(--skillz-accent-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--skillz-black);
    margin: 0 auto 1.5rem;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: var(--skillz-gray-500);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-meta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--skillz-white);
    border: 1px solid var(--skillz-gray-100);
    border-radius: 12px;
    min-width: 120px;
}

.chip-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--skillz-gray-500);
    margin-bottom: 0.25rem;
}

.chip-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--skillz-black);
}

/* ===================================
   Content Area
   =================================== */
.skillz-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ===================================
   Chapters
   =================================== */
.chapter {
    padding: 5rem 0;
    border-bottom: 1px solid var(--skillz-gray-100);
}

.chapter:last-child {
    border-bottom: none;
}

.chapter-alt {
    background: var(--skillz-gray-100);
    margin: 0 -2rem;
    padding: 5rem 2rem;
    border-radius: 0;
}

.chapter-final {
    background: var(--skillz-navy);
    color: var(--skillz-white);
    margin: 0 -2rem;
    padding: 5rem 2rem;
    border-radius: 0;
}

.chapter-final .chapter-num {
    color: var(--skillz-gray-500);
}

.chapter-final .chapter-title {
    color: var(--skillz-white);
}

.chapter-final p {
    color: #ffffff;
}

.chapter-final .lead-text {
    color: #ffffff !important;
}

.chapter-header {
    margin-bottom: 2rem;
}

.chapter-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--skillz-accent);
    margin-bottom: 0.5rem;
}

.chapter-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--skillz-black);
    margin: 0;
    line-height: 1.2;
}

.chapter-body p {
    font-size: 1.0625rem;
    color: var(--skillz-gray-700);
    margin-bottom: 1.5rem;
}

.chapter-body p:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-size: 1.25rem !important;
    color: var(--skillz-black) !important;
    line-height: 1.6;
}

.chapter-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--skillz-black);
    margin: 3rem 0 1rem;
}

.chapter-body h3:first-of-type {
    margin-top: 2.5rem;
}

.chapter-final h4 {
    color: var(--skillz-white);
}

/* ===================================
   Problem Statement
   =================================== */
.problem-statement {
    background: var(--skillz-accent-light);
    border-left: 4px solid var(--skillz-accent);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.problem-statement p {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--skillz-black) !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* ===================================
   Images
   =================================== */
.image-figure {
    margin: 2rem 0;
}

.image-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-figure img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.image-figure figcaption {
    font-size: 0.85rem;
    color: var(--skillz-gray-500);
    text-align: center;
    margin-top: 0.75rem;
}

.image-figure.full-width {
    margin: 3rem -2rem;
    max-width: calc(100% + 4rem);
}

.image-figure.full-width img {
    border-radius: 0;
}

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-pair .image-figure {
    margin: 0;
}

.archetype-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.archetype-row .image-figure {
    margin: 0;
}

@media (max-width: 768px) {
    .image-pair {
        grid-template-columns: 1fr;
    }
    
    .archetype-row {
        grid-template-columns: 1fr;
    }
    
    .image-figure.full-width {
        margin: 2rem -1rem;
        max-width: calc(100% + 2rem);
    }
}

/* ===================================
   Learnings
   =================================== */
.learnings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.learning {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.learning h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.learning p {
    font-size: 0.9rem;
    margin: 0 !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .learnings {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===================================
   Footer
   =================================== */
.skillz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--skillz-gray-100);
}

.back-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--skillz-gray-500);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--skillz-black);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--skillz-gray-500);
    margin: 0;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
    .skillz-hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-meta-row {
        gap: 0.75rem;
    }
    
    .meta-chip {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }
    
    .skillz-content {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .skillz-footer {
        padding: 2rem 1.5rem;
    }
    
    .chapter {
        padding: 3.5rem 0;
    }
    
    .chapter-alt,
    .chapter-final {
        margin: 0 -1.5rem;
        padding: 3.5rem 1.5rem;
    }
    
    .skillz-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===================================
   Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .chapter {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .chapter:nth-child(1) { animation-delay: 0.1s; }
    .chapter:nth-child(2) { animation-delay: 0.15s; }
    .chapter:nth-child(3) { animation-delay: 0.2s; }
    .chapter:nth-child(4) { animation-delay: 0.25s; }
    .chapter:nth-child(5) { animation-delay: 0.3s; }
    .chapter:nth-child(6) { animation-delay: 0.35s; }
    .chapter:nth-child(7) { animation-delay: 0.4s; }
}

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

/* ===================================
   Visual System / Style Guide
   =================================== */
.skillz-style-guide {
    background: var(--skillz-gray-100);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.skillz-style-guide .sg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.skillz-style-guide .sg-row:last-child {
    margin-bottom: 0;
}

.skillz-style-guide .sg-section h5 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--skillz-navy);
    margin-bottom: 1rem;
}

/* Color Swatches */
.skillz-color-swatches {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skillz-swatch {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skillz-swatch-color {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
}

.skillz-swatch-info {
    display: flex;
    flex-direction: column;
}

.skillz-swatch-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--skillz-navy);
}

.skillz-swatch-hex {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--skillz-gray-500);
}

.skillz-swatch-use {
    font-size: 0.7rem;
    color: var(--skillz-gray-500);
}

/* Typography Samples */
.skillz-type-samples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skillz-type-sample {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skillz-type-preview {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.skillz-type-specs {
    font-size: 0.7rem;
    color: var(--skillz-gray-500);
}

/* Component Samples */
.skillz-component-samples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skillz-component-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.skillz-sample-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.skillz-sample-btn.primary {
    background: #4ECFAA;
    color: #111111;
}

.skillz-sample-btn.secondary {
    background: #111111;
    color: white;
}

.skillz-sample-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #C8F0E6;
    flex: 1;
}

.skillz-sample-icon {
    width: 32px;
    height: 32px;
    background: #E6F8F3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.skillz-sample-content {
    flex: 1;
}

.skillz-sample-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--skillz-navy);
}

.skillz-sample-meta {
    font-size: 0.7rem;
    color: var(--skillz-gray-500);
}

.skillz-sample-bar {
    width: 60px;
    height: 6px;
    background: #C8F0E6;
    border-radius: 3px;
    overflow: hidden;
}

.skillz-sample-bar div {
    height: 100%;
    background: #4ECFAA;
    border-radius: 3px;
}

.skillz-sample-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: #E6F8F3;
    color: #111111;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.skillz-sample-badge.orange {
    background: #F5F5F5;
    color: #444444;
}

.skillz-sample-badge.navy {
    background: #111111;
    color: white;
}

@media (max-width: 768px) {
    .skillz-style-guide .sg-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   App Screens Showcase
   =================================== */
.app-screens-list {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.screen-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.screen-row:nth-child(even) {
    grid-template-columns: 1fr 260px;
}

.screen-row:nth-child(even) .phone-container {
    order: 2;
}

.screen-row:nth-child(even) .screen-description {
    order: 1;
    text-align: right;
}

.screen-description h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--skillz-black);
    margin: 0 0 0.75rem;
}

.screen-description p {
    font-size: 1rem;
    color: var(--skillz-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Phone Container - Hyper-Realistic Titanium */
.phone-container {
    width: 260px;
    height: 545px;
    /*
     * Titanium frame: bright chamfer edges, dark matte body center.
     * Light source at top-left — highlights wrap around corners,
     * body stays deep dark, opposite edge slightly warmer.
     */
    background:
        linear-gradient(
            158deg,
            #d4d4d4 0%,
            #b0b0b0 1.5%,
            #787878 4%,
            #404040 7%,
            #262626 11%,
            #191919 18%,
            #141414 35%,
            #141414 55%,
            #1c1c1c 72%,
            #2e2e2e 84%,
            #505050 91%,
            #808080 96%,
            #b8b8b8 98.5%,
            #d0d0d0 100%
        );
    border-radius: 50px;
    padding: 8px;
    position: relative;
    /* Layered shadow system — ambient, mid, contact, edge ring */
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.18),
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 6px 12px rgba(0, 0, 0, 0.08),
        /* Thin crisp outer edge ring */
        0 0 0 0.5px rgba(0, 0, 0, 0.9),
        /* Polished top chamfer — specular from top-left */
        inset 0 2px 1px rgba(255, 255, 255, 0.12),
        inset 1px 0 1px rgba(255, 255, 255, 0.05),
        /* Bottom/right ambient occlusion */
        inset 0 -2px 2px rgba(0, 0, 0, 0.5),
        inset -1px 0 1px rgba(0, 0, 0, 0.2);
}

/* Chamfered edge gloss — polished flat edge reflects light at angle */
.phone-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 16%,
        transparent 36%,
        transparent 64%,
        rgba(0, 0, 0, 0.04) 84%,
        rgba(0, 0, 0, 0.09) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Dynamic Island */
.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 1),
        inset 0 -1px 2px rgba(255, 255, 255, 0.03),
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.6);
}

.notch-camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* Realistic camera lens with depth and lens coating */
    background: radial-gradient(
        circle at 35% 35%,
        #1e2d45 0%,
        #0d1520 45%,
        #000 100%
    );
    box-shadow:
        0 0 0 1px rgba(60, 60, 80, 0.7),
        0 0 0 2px rgba(0, 0, 0, 0.9),
        inset 0 0 3px rgba(80, 100, 140, 0.25);
}

.notch-sensor {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #0d1d2e 40%, #060d14 100%);
    box-shadow: 0 0 0 1px rgba(40, 60, 80, 0.5);
}

.phone-screen {
    background: #ffffff;
    border-radius: 40px;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Glass inset — dark lip + deep screen cavity */
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.28),
        inset 0 2px 6px rgba(0, 0, 0, 0.14),
        inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

/* Screen glass reflection — subtle angled light sweep */
.phone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: linear-gradient(
        140deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 25%
    );
    pointer-events: none;
    z-index: 25;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 26px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--skillz-black);
    position: relative;
    z-index: 10;
}

.status-bar-light {
    color: white;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 12px;
}

/* Signal Bars - 4 bars using box-shadows */
.status-signal {
    width: 14px;
    height: 10px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
}

.status-signal::before {
    content: '';
    display: block;
    width: 2px;
    height: 3px;
    background: currentColor;
    border-radius: 0.5px;
    opacity: 0.8;
    box-shadow:
        3.5px 0 0 0 currentColor,
        3.5px -2px 0 0 currentColor,
        7px 0 0 0 currentColor,
        7px -2px 0 0 currentColor,
        7px -4px 0 0 currentColor,
        10.5px 0 0 0 currentColor,
        10.5px -2px 0 0 currentColor,
        10.5px -4px 0 0 currentColor,
        10.5px -6px 0 0 currentColor;
}

.status-signal::after {
    display: none;
}

/* WiFi Icon */
.status-wifi {
    width: 12px;
    height: 9px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.status-wifi::before {
    content: '';
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.8;
}

.status-wifi::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 6px;
    border: 1.5px solid currentColor;
    border-bottom: none;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: 0.6;
    background: transparent;
}

/* Battery */
.status-battery {
    width: 18px;
    height: 9px;
    border: 1.5px solid currentColor;
    border-radius: 2.5px;
    position: relative;
    opacity: 0.8;
}

.status-battery::before {
    content: '';
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    bottom: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.status-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5px;
    height: 4px;
    background: currentColor;
    border-radius: 0 1px 1px 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .screen-row,
    .screen-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screen-row:nth-child(even) .phone-container,
    .screen-row:nth-child(even) .screen-description {
        order: unset;
    }
    
    .screen-row:nth-child(even) .screen-description {
        text-align: left;
    }
    
    .phone-container {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* Skills App Styles - Matching Brand */
.skillz-screen-dashboard,
.skillz-screen-feedback,
.skillz-screen-exercise,
.skillz-screen-achievements {
    background: #F5F7FA;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* ===================================
   Screen 0: Welcome
   =================================== */
.skillz-screen-welcome {
    background:
        radial-gradient(ellipse 200px 160px at 88% 6%, rgba(78, 207, 170, 0.1) 0%, transparent 100%),
        radial-gradient(ellipse 180px 220px at -5% 94%, rgba(78, 207, 170, 0.07) 0%, transparent 100%),
        radial-gradient(ellipse 260px 200px at 50% 50%, rgba(253, 248, 242, 0.6) 0%, transparent 100%),
        #FDF8F2;
    font-family: 'Montserrat', 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.4rem;
    position: relative;
    overflow: hidden;
}

/* Status bar backgrounds — match each screen's top section so no white bleeds through */
.skillz-screen-dashboard .status-bar,
.skillz-screen-feedback .status-bar,
.skillz-screen-exercise .status-bar,
.skillz-screen-achievements .status-bar {
    background: linear-gradient(135deg, #0A0A0A 0%, #141414 100%);
    color: white;
}

/* Status bar needs full width inside the centered flex column */
.skillz-screen-welcome .status-bar {
    width: 100%;
    background: transparent;
}

/* Logo mark */
.sw-logo-wrap {
    width: 64px;
    height: auto;
    margin-top: auto;
    margin-bottom: 0.5rem;
    z-index: 1;
    flex-shrink: 0;
}

.sw-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Brand block */
.sw-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    z-index: 1;
    gap: 0.3rem;
}

/* SKILLS title image */
.sw-title-img {
    width: calc(100% - 1.6rem);
    max-width: 200px;
    height: auto;
    display: block;
}

/* Tagline */
.sw-tagline {
    font-size: 0.65rem;
    color: #333333;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    margin-top: 0.1rem;
}

/* Skill topics grid — 3-column icon + label */
.sw-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem 0.3rem;
    width: calc(100% - 2.2rem);
    margin: 0.6rem 0 0;
    z-index: 1;
}

.sw-topic {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
}

.sw-topic svg {
    width: 22px;
    height: 22px;
}

/* CTA actions */
.sw-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0 1.2rem;
    z-index: 1;
    margin-top: auto;
    margin-bottom: 1rem;
}

.sw-btn-primary {
    width: 100%;
    padding: 12px 16px;
    border-radius: 100px;
    background: linear-gradient(180deg, #5DDAB5 0%, #38B896 100%);
    color: #111111;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Montserrat', 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 0.05em;
    border: none;
    box-shadow:
        0 4px 18px rgba(78, 207, 170, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    position: relative;
    overflow: hidden;
    transition: opacity 0.15s ease;
}

/* Subtle top sheen on button */
.sw-btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 100%);
    border-radius: 100px 100px 50% 50%;
    pointer-events: none;
}

.sw-btn-secondary {
    font-size: 0.52rem;
    color: #AAAAAA;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.sw-btn-secondary span {
    color: #111111;
    font-weight: 600;
}

.skillz-app-header {
    position: relative;
    padding: 0.5rem 1.25rem 2.5rem;
    background: linear-gradient(145deg, #0A0A0A 0%, #141414 40%, #1A1A1A 100%);
    color: white;
    overflow: visible;
}

.skillz-app-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(78, 207, 170, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.skillz-app-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20%;
    width: 140%;
    height: 50px;
    background: linear-gradient(145deg, #0A0A0A 0%, #141414 40%, #1A1A1A 100%);
    border-radius: 0 0 50% 80% / 0 0 100% 100%;
}

.skillz-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.skillz-greeting-block {
    display: flex;
    flex-direction: column;
}

.skillz-greeting-label {
    font-size: 0.55rem;
    font-weight: 400;
    opacity: 0.6;
    letter-spacing: 0.02em;
}

.skillz-greeting-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1px;
}

.skillz-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skillz-notif-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(4px);
}

.notif-icon {
    font-size: 0.65rem;
    color: white;
    opacity: 0.9;
    font-weight: 600;
}

.notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: #4ECFAA;
    border-radius: 50%;
    border: 1.5px solid #111111;
    box-shadow: 0 0 6px rgba(78, 207, 170, 0.5);
}

.skillz-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4ECFAA, #38B896);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: #111111;
    box-shadow: 0 4px 14px rgba(78, 207, 170, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.skillz-streak-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(78, 207, 170, 0.18);
    border: 1px solid rgba(78, 207, 170, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.streak-flame {
    font-size: 0.6rem;
    font-weight: 800;
    color: #4ECFAA;
}

.streak-text {
    font-size: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
    color: #B8F0E4;
}

/* Progress Card */
.skillz-progress-card {
    background: white;
    margin: -8px 12px 12px;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(99, 171, 200, 0.06);
    position: relative;
    z-index: 5;
}

.skillz-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skillz-progress-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--skillz-navy);
    letter-spacing: -0.01em;
}

.skillz-progress-week {
    font-size: 0.55rem;
    color: #7A6010;
    background: linear-gradient(135deg, #FEFBE8, #FEF3C0);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.skillz-progress-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.skillz-progress-ring {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(99, 171, 200, 0.25));
}

.skillz-progress-ring svg {
    width: 100%;
    height: 100%;
    display: block;
}

.skillz-progress-ring svg circle:first-child {
    stroke: #C8F0E6;
}

.skillz-progress-ring svg circle:last-child {
    stroke: #4ECFAA;
    filter: drop-shadow(0 0 6px rgba(78, 207, 170, 0.4));
}

.skillz-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skillz-progress-pct {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--skillz-navy);
    line-height: 1;
    letter-spacing: -0.03em;
}

.skillz-progress-label {
    font-size: 0.45rem;
    color: var(--skillz-teal);
    margin-top: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skillz-progress-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.progress-detail-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 3px 8px;
    background: #F8FAFB;
    border-radius: 8px;
    overflow: hidden;
}

.progress-detail-val {
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--skillz-navy);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.progress-detail-label {
    font-size: 0.45rem;
    color: var(--skillz-gray-500);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skillz-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    border-top: 1px solid rgba(37, 65, 78, 0.08);
    padding-top: 0.75rem;
}

.skillz-stat-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--skillz-navy);
    letter-spacing: -0.02em;
}

.skillz-stat-label {
    font-size: 0.5rem;
    color: var(--skillz-gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Section Title */
.skillz-section-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--skillz-navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 14px;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

/* Skill List */
.skillz-skill-list {
    padding: 0 12px;
    flex: 1;
}

.skillz-skill-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    background: white;
    border-radius: 14px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(99, 171, 200, 0.1);
    transition: transform 0.2s ease;
}

.skillz-skill-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.skill-icon-text {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.skillz-skill-icon.conflict { 
    background: linear-gradient(135deg, #222222, #111111); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.skillz-skill-icon.communication { 
    background: linear-gradient(135deg, #4ECFAA, #28957A); 
    box-shadow: 0 4px 12px rgba(78, 207, 170, 0.35);
}
.skillz-skill-icon.leadership { 
    background: linear-gradient(135deg, #1A1A1A, #0A0A0A); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.skillz-skill-info {
    flex: 1;
}

.skillz-skill-name {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--skillz-navy);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.skillz-skill-bar {
    height: 5px;
    background: #EDF1F5;
    border-radius: 3px;
    overflow: hidden;
}

.skillz-skill-bar div {
    height: 100%;
    background: linear-gradient(90deg, #4ECFAA, #7DDEC7);
    border-radius: 3px;
}

.skillz-skill-level {
    font-size: 0.65rem;
    font-weight: 700;
    color: #38B896;
}

/* Bottom Nav */
.skillz-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0.75rem 0.75rem;
    background: linear-gradient(145deg, #0A0A0A, #141414, #1A1A1A);
    margin-top: auto;
    border-radius: 0 0 28px 28px;
    position: relative;
}

.skillz-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.skillz-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 10px;
    opacity: 0.4;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.skillz-bottom-nav .nav-item .nav-icon {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.skillz-bottom-nav .nav-item .nav-label {
    font-size: 0.4rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.skillz-bottom-nav .nav-item.active {
    opacity: 1;
}

.skillz-bottom-nav .nav-item.active .nav-icon {
    background: linear-gradient(135deg, #4ECFAA, #38B896);
    box-shadow: 0 4px 15px rgba(78, 207, 170, 0.45);
}

/* Screen Header */
.skillz-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(145deg, #0A0A0A, #141414, #1A1A1A);
    color: white;
}

.skillz-header-gradient {
    background: linear-gradient(145deg, #111111, #1A1A1A, #222222);
}

.skillz-back {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    padding: 0;
}

.skillz-screen-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
}

.skillz-dots {
    display: flex;
    align-items: center;
    opacity: 0.6;
}

.skillz-progress-mini {
    font-size: 0.55rem;
    color: #111111;
    background: linear-gradient(135deg, #4ECFAA, #38B896);
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(78, 207, 170, 0.4);
}

/* Feedback Screen */
.skillz-screen-feedback {
    background: #F5F7FA;
}

.skillz-feedback-hero {
    background: linear-gradient(145deg, #0A0A0A, #141414, #1A1A1A);
    padding: 0.75rem 1.25rem 1.25rem;
    text-align: center;
    color: white;
    position: relative;
}

.skillz-feedback-hero::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -10%;
    right: -10%;
    height: 28px;
    background: linear-gradient(145deg, #0A0A0A, #141414, #1A1A1A);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.skillz-feedback-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4ECFAA, #28957A);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    box-shadow: 
        0 8px 24px rgba(78, 207, 170, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.15);
}

.skillz-feedback-skill {
    display: block;
    font-size: 0.65rem;
    opacity: 0.9;
    margin-bottom: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.skillz-feedback-score {
    margin-bottom: 0.15rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.score-max {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 500;
}

.feedback-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0.25rem;
}

.trend-arrow {
    font-size: 0.6rem;
    color: #4ECFAA;
    font-weight: 800;
}

.trend-text {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.skillz-feedback-count {
    font-size: 0.5rem;
    opacity: 0.65;
    font-weight: 500;
}

/* Feedback Breakdown */
.skillz-feedback-breakdown {
    background: white;
    margin: 22px 0.75rem 0.5rem;
    padding: 0.75rem;
    border-radius: 16px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.03);
}

.fb-breakdown-header {
    margin-bottom: 0.5rem;
}

.fb-breakdown-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--skillz-navy);
    letter-spacing: -0.01em;
}

.skillz-feedback-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(37, 65, 78, 0.05);
}

.skillz-feedback-row:last-child {
    border-bottom: none;
}

.fb-label {
    font-size: 0.55rem;
    color: var(--skillz-navy);
    font-weight: 600;
}

.fb-bar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fb-bar {
    flex: 1;
    height: 5px;
    background: #EDF1F5;
    border-radius: 3px;
    overflow: hidden;
}

.fb-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ECFAA, #7DDEC7);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.fb-bar-val {
    font-size: 0.5rem;
    font-weight: 800;
    color: #38B896;
    min-width: 18px;
    text-align: right;
}

/* Feedback Quote */
.skillz-feedback-quote {
    background: white;
    margin: 0.5rem 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    position: relative;
    border-left: 3px solid #4ECFAA;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 4px rgba(0, 0, 0, 0.02);
}

.quote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.quote-icon {
    font-size: 1.1rem;
    color: #4ECFAA;
    line-height: 1;
    font-weight: 700;
}

.quote-badge {
    font-size: 0.4rem;
    font-weight: 700;
    color: #28957A;
    background: linear-gradient(135deg, #E6F8F3, #C8F0E6);
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.skillz-feedback-quote p {
    font-size: 0.58rem;
    color: var(--skillz-gray-700);
    font-style: italic;
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-author {
    font-size: 0.5rem;
    color: var(--skillz-gray-500);
    font-weight: 600;
}

.quote-date {
    font-size: 0.45rem;
    color: var(--skillz-gray-300);
    font-weight: 500;
}

/* Exercise Screen */
.skillz-screen-exercise {
    background: #F5F7FA;
}

/* Exercise Progress Bar */
.skillz-exercise-progress-bar {
    padding: 0.5rem 1rem 0;
}

.exercise-progress-track {
    height: 3px;
    background: #E8F0F4;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.exercise-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ECFAA, #7DDEC7);
    border-radius: 2px;
}

.exercise-progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.exercise-progress-steps .step {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D8E2E8;
    transition: all 0.2s ease;
}

.exercise-progress-steps .step.done {
    background: #4ECFAA;
    box-shadow: 0 0 4px rgba(78, 207, 170, 0.4);
}

.exercise-progress-steps .step.active {
    background: #4ECFAA;
    box-shadow: 0 0 6px rgba(78, 207, 170, 0.6);
    transform: scale(1.3);
}

.skillz-exercise-card {
    background: linear-gradient(145deg, #111111, #1A1A1A, #222222);
    margin: 0.5rem 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 48px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

.skillz-exercise-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.skillz-exercise-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.exercise-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.skillz-exercise-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.skillz-exercise-badge .badge-icon {
    font-size: 0.55rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exercise-difficulty {
    display: flex;
    align-items: center;
    gap: 3px;
}

.difficulty-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.difficulty-dot.filled {
    background: white;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.difficulty-label {
    font-size: 0.4rem;
    opacity: 0.7;
    margin-left: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.skillz-exercise-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.skillz-exercise-desc {
    font-size: 0.65rem;
    opacity: 0.9;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.skillz-exercise-time {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6rem;
    opacity: 0.8;
}

/* Scenario & Prompt */
.skillz-scenario,
.skillz-prompt {
    background: white;
    margin: 0.4rem 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 4px rgba(0, 0, 0, 0.02);
}

.scenario-label,
.prompt-label {
    display: block;
    font-size: 0.45rem;
    font-weight: 700;
    color: #38B896;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.scenario-text,
.prompt-text {
    font-size: 0.58rem;
    color: var(--skillz-navy);
    margin: 0;
    line-height: 1.55;
    font-weight: 500;
}

.prompt-text {
    font-weight: 600;
    font-size: 0.6rem;
}

.scenario-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.4rem;
}

.scenario-tag {
    font-size: 0.4rem;
    font-weight: 600;
    color: var(--skillz-navy);
    background: #E8F4F8;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.scenario-time {
    font-size: 0.4rem;
    color: var(--skillz-gray-500);
    font-weight: 500;
}

/* Input Area */
.skillz-input-area {
    margin: 0 0.75rem;
}

.skillz-textarea {
    background: white;
    border: 2px solid rgba(99, 171, 200, 0.2);
    border-radius: 14px;
    padding: 0.5rem 0.65rem;
    min-height: 36px;
    position: relative;
}

.textarea-placeholder {
    font-size: 0.55rem;
    color: var(--skillz-gray-300);
    font-style: italic;
}

.textarea-toolbar {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(99, 171, 200, 0.1);
}

.toolbar-btn {
    font-size: 0.5rem;
    color: var(--skillz-gray-500);
    width: 20px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F9FB;
    border-radius: 4px;
    font-weight: 600;
}

/* ===================================
   Achievements Screen
   =================================== */
.skillz-screen-achievements {
    background: #F5F7FA;
}

.achievements-hero {
    background: linear-gradient(145deg, #0A0A0A, #141414, #1A1A1A);
    padding: 0.75rem 1rem 1rem;
    position: relative;
    overflow: visible;
}

.achievements-hero::before {
    display: none;
}

.achievements-hero::after {
    display: none;
}

.achievements-level {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.level-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #4ECFAA, #28957A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 24px rgba(78, 207, 170, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.level-badge::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.level-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.level-info {
    flex: 1;
}

.level-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    margin-bottom: 5px;
}

.level-xp-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 3px;
}

.level-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ECFAA, #7DDEC7, #A8EEE0);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(78, 207, 170, 0.4);
}

.level-xp-text {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Section Titles */
.achievements-section-title {
    font-size: 0.44rem;
    font-weight: 700;
    color: #1A3A28;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    padding: 0.7rem 0.85rem 0.3rem;
    opacity: 0.45;
}

/* Badges Grid */
.achievements-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0 0.75rem;
}

.achievement-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 9px 4px 7px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    position: relative;
    border: 0.5px solid rgba(26, 58, 40, 0.06);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(6px);
}

.achievement-badge.earned {
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.badge-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, rgba(46, 158, 88, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

/* Badge circles with glass sheen */
.badge-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #4ECFAA 0%, #28957A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    box-shadow:
        0 4px 14px rgba(78, 207, 170, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.badge-circle::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: 12px 12px 50% 50%;
    pointer-events: none;
}

.badge-circle.orange {
    background: linear-gradient(145deg, #2A2A2A 0%, #111111 100%);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.badge-circle.navy {
    background: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 100%);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.badge-circle.locked {
    background: rgba(237, 241, 245, 0.9);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.badge-circle.locked::after {
    display: none;
}

.badge-name {
    font-size: 0.42rem;
    font-weight: 700;
    color: #1A3A28;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.badge-date {
    font-size: 0.36rem;
    color: #8AAA92;
    font-weight: 500;
    margin-top: 1px;
}

.achievement-badge.locked .badge-name {
    color: #b3b3b3;
}

/* Milestones */
.achievements-milestones {
    padding: 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0.58rem 0.7rem;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    border: 0.5px solid rgba(26, 58, 40, 0.05);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(6px);
}

.milestone-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.milestone-icon::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.milestone-icon.done {
    background: linear-gradient(145deg, #4ECFAA 0%, #28957A 100%);
    box-shadow: 0 3px 10px rgba(78, 207, 170, 0.35);
}

.milestone-icon.progress {
    background: linear-gradient(145deg, #222222 0%, #111111 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.milestone-icon.upcoming {
    background: rgba(237, 241, 245, 0.9);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.milestone-icon.upcoming::after {
    display: none;
}

.milestone-icon-text {
    font-size: 0.5rem;
    font-weight: 800;
    color: white;
}

.milestone-info {
    flex: 1;
}

.milestone-title {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    color: #1A3A28;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.milestone-bar {
    height: 4px;
    background: rgba(26, 58, 40, 0.07);
    border-radius: 100px;
    overflow: hidden;
}

.milestone-bar div {
    height: 100%;
    background: linear-gradient(90deg, #4ECFAA, #7DDEC7);
    border-radius: 100px;
    box-shadow: 0 0 6px rgba(78, 207, 170, 0.3);
}

.milestone-status {
    font-size: 0.46rem;
    font-weight: 700;
    color: #38B896;
    min-width: 24px;
    text-align: right;
}

.milestone-status.in-progress {
    color: #888888;
}

/* CTA Button - Enhanced */
.skillz-cta-btn {
    display: block;
    width: calc(100% - 1.5rem);
    margin: 0.5rem auto;
    padding: 0.65rem;
    background: linear-gradient(135deg, #F5C842, #D4A820);
    color: #1A3A28;
    border: none;
    border-radius: 25px;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 
        0 8px 24px rgba(245, 200, 66, 0.35),
        0 2px 6px rgba(245, 200, 66, 0.15);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.skillz-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 25px 25px 0 0;
}

