/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    background: #0a0a0a;
    color: #f5f5f7;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Animated Background ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #007aff, #5856d6);
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.3;
}

.floating-particles::before {
    top: 10%;
    left: 20%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.floating-particles::after {
    top: 60%;
    right: 30%;
    animation-delay: -15s;
    animation-duration: 30s;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.05;
    animation: geometricFloat 40s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff, rgba(0, 122, 255, 0.3));
    border-radius: 20px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    top: 30%;
    right: 15%;
    width: 60px;
    height: 60px;
    border: 2px solid #5856d6;
    border-radius: 50%;
    animation-delay: -10s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(88, 86, 214, 0.3);
    animation-delay: -20s;
}

.shape-4 {
    bottom: 40%;
    right: 25%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #007aff, transparent);
    animation-delay: -30s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-15px, 15px) rotate(180deg); }
    75% { transform: translate(-20px, -15px) rotate(270deg); }
}

@keyframes geometricFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-20px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(10px) rotate(240deg) scale(0.9); }
}

/* ===== Navigation ===== */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f7;
}

.nav-icon {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    color: #007aff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: #86868b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #f5f5f7;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: #007aff;
    background: rgba(0, 122, 255, 0.15);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #f5f5f7;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* ===== Main Content ===== */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.content-section {
    display: none;
    min-height: calc(100vh - 70px);
    padding: 3rem 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-section.active {
    display: block;
}

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

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f5f5f7, #a1a1a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #86868b;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero-content {
    margin-bottom: 4rem;
}

.hero-text {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f5f5f7;
}

.hero-description {
    font-size: 1.1rem;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.key-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 122, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.8s ease;
    opacity: 0;
}

.metric-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.1);
}

.metric-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 1rem;
    color: #86868b;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ===== Content Grid ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.content-card:hover::after {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 122, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(88, 86, 214, 0.1));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.content-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 1.5rem;
    color: #007aff;
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5f5f7;
}

.content-card p {
    color: #86868b;
    line-height: 1.8;
}

/* ===== Narrative Section ===== */
.narrative-content {
    max-width: 900px;
    margin: 0 auto;
}

.narrative-block h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
    text-align: center;
}

.narrative-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #d1d1d6;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #007aff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quote-box {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #007aff;
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
}

.quote-box blockquote {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f5f5f7;
    margin-bottom: 1rem;
}

.quote-box cite {
    color: #86868b;
    font-size: 0.9rem;
    font-style: normal;
}

/* ===== Valuation Section ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.comparison-card {
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.comparison-card.traditional {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 149, 0, 0.05));
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.comparison-card.ai-first {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.comparison-card h3 i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.comparison-card.traditional h3 {
    color: #ff9500;
}

.comparison-card.ai-first h3 {
    color: #007aff;
}

.comparison-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.comparison-card li {
    padding: 0.5rem 0;
    color: #d1d1d6;
    position: relative;
    padding-left: 1.5rem;
}

.comparison-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: bold;
}

.comparison-card.traditional li::before {
    color: #ff9500;
}

.valuation-example {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.example-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-metric .label {
    color: #86868b;
    font-size: 0.9rem;
}

.example-metric .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5f5f7;
}

.example-metric .multiple {
    color: #86868b;
    font-size: 0.9rem;
}

/* ===== Key Differences ===== */
.key-differences {
    margin-top: 3rem;
}

.key-differences h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #f5f5f7;
}

.difference-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.difference-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 122, 255, 0.2);
}

.difference-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.difference-header i {
    margin-right: 1rem;
    font-size: 1.25rem;
    color: #007aff;
    width: 24px;
}

.difference-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f7;
}

.difference-item p {
    margin-bottom: 0.75rem;
    color: #d1d1d6;
    line-height: 1.6;
}

.difference-item p strong {
    color: #f5f5f7;
}

/* ===== Methodology Section ===== */
.methodology-intro {
    margin-bottom: 3rem;
}

.methodology-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1d6;
    margin-bottom: 1.5rem;
}

.concept-highlight {
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.1), rgba(175, 82, 222, 0.05));
    border: 1px solid rgba(88, 86, 214, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.concept-highlight h3 {
    color: #5856d6;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.matrix-explanation {
    margin-bottom: 3rem;
}

.matrix-explanation h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.matrix-visual {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.matrix-grid {
    max-width: 600px;
    margin: 0 auto;
}

.matrix-header {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 1.5rem;
}

.matrix-cells {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.matrix-cell {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.matrix-cell:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.1);
}

.matrix-cell.more-cells {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
}

.deliverable-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 0.5rem;
}

.deliverable-cost {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 0.25rem;
}

.deliverable-time {
    display: block;
    font-size: 0.8rem;
    color: #86868b;
}

/* ===== Role Examples ===== */
.role-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.role-example {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.role-example h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.role-example h4 i {
    margin-right: 0.75rem;
    color: #007aff;
}

.role-example ul {
    list-style: none;
}

.role-example li {
    padding: 0.4rem 0;
    color: #d1d1d6;
    position: relative;
    padding-left: 1.5rem;
}

.role-example li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: bold;
}

/* ===== Cost Analysis ===== */
.cost-analysis {
    margin-top: 3rem;
}

.cost-analysis h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.analysis-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.analysis-example {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

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

.example-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f7;
}

.improvement-badge {
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.before,
.after {
    padding: 1rem;
    border-radius: 12px;
}

.before {
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.after {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.before h5,
.after h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5f5f7;
}

.before ul,
.after ul {
    list-style: none;
}

.before li,
.after li {
    padding: 0.3rem 0;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.before li:last-child,
.after li:last-child {
    font-weight: 600;
    color: #f5f5f7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* ===== Footer ===== */
.main-footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f5f7;
}

.footer-brand i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
    color: #007aff;
}

.footer-text p {
    color: #86868b;
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .key-metrics {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .matrix-cells {
        grid-template-columns: 1fr;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .analysis-examples {
        grid-template-columns: 1fr;
    }
    
    .role-examples {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .metric-card {
        padding: 2rem 1.5rem;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* ===== Smooth Transitions ===== */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* ===== Productivity Section ===== */
.productivity-intro {
    margin-bottom: 3rem;
}

.productivity-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1d6;
    margin-bottom: 1.5rem;
}

.productivity-examples h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.productivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.productivity-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.productivity-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 122, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.productivity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.productivity-header i {
    font-size: 1.5rem;
    color: #007aff;
    margin-right: 0.75rem;
}

.productivity-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f7;
    display: flex;
    align-items: center;
}

.gain-badge {
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.productivity-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.before-state,
.after-state {
    padding: 1.5rem;
    border-radius: 12px;
}

.before-state {
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.after-state {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.before-state h5,
.after-state h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5f5f7;
}

.before-state ul,
.after-state ul {
    list-style: none;
}

.before-state li,
.after-state li {
    padding: 0.4rem 0;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.before-state li:last-child,
.after-state li:last-child {
    font-weight: 600;
    color: #f5f5f7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* ===== Repository Data Section ===== */
.repository-data {
    margin-top: 4rem;
}

.repository-data h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.data-highlights {
    margin-bottom: 3rem;
}

.data-card {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.data-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.data-icon i {
    font-size: 2rem;
    color: white;
}

.data-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5f5f7;
}

.data-card p {
    color: #d1d1d6;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.data-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #86868b;
    font-weight: 500;
}

.key-findings h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f5f5f7;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.finding-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.finding-item i {
    color: #34c759;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.finding-item p {
    color: #d1d1d6;
    line-height: 1.6;
    margin: 0;
}

/* ===== Financial Impact Section ===== */
.impact-overview {
    margin-bottom: 3rem;
}

.impact-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1d6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.impact-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.impact-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 1.8rem;
    color: #007aff;
    margin-right: 1rem;
    width: 40px;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f5f7;
}

.category-content p {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.impact-example {
    background: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.impact-example h4 {
    color: #007aff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.example-calculation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.calc-row.highlight {
    border-top: 2px solid rgba(0, 122, 255, 0.3);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.calc-label {
    color: #d1d1d6;
    font-weight: 500;
}

.calc-value {
    color: #007aff;
    font-weight: 700;
    font-size: 1.1rem;
}

.calc-row.highlight .calc-value {
    color: #34c759;
    font-size: 1.3rem;
}

.smart-reallocation {
    margin-top: 2rem;
}

.smart-reallocation h4 {
    color: #f5f5f7;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.smart-reallocation blockquote {
    background: rgba(88, 86, 214, 0.05);
    border-left: 4px solid #5856d6;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin: 1rem 0;
    font-style: italic;
    color: #f5f5f7;
}

.margin-comparison {
    margin: 2rem 0;
}

.margin-example h4 {
    color: #f5f5f7;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.margin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.margin-stat {
    display: flex;
    align-items: center;
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #34c759;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: #d1d1d6;
}

.growth-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.growth-factor h4 {
    color: #f5f5f7;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.growth-factor h4 i {
    color: #007aff;
    margin-right: 0.5rem;
}

.growth-factor p {
    color: #d1d1d6;
    line-height: 1.6;
    margin: 0;
}

.revenue-example {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.revenue-example h4 {
    color: #34c759;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.growth-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.growth-stat {
    text-align: center;
}

.growth-multiplier {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34c759;
    margin-bottom: 0.25rem;
}

.growth-desc {
    font-size: 0.9rem;
    color: #d1d1d6;
}

.agility-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.benefit-item i {
    color: #007aff;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: #f5f5f7;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #d1d1d6;
    line-height: 1.6;
    margin: 0;
}

/* ===== ROI Metrics ===== */
.roi-metrics {
    margin-top: 4rem;
}

.roi-metrics h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.metrics-intro {
    margin-bottom: 2rem;
}

.metrics-intro p {
    color: #d1d1d6;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.metrics-intro strong {
    color: #007aff;
    font-weight: 600;
}

.roi-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.roi-card {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.roi-card.traditional-roi {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1), rgba(255, 59, 48, 0.05));
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.roi-card.ai-enabled-roi {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(52, 199, 89, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.roi-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.roi-card.traditional-roi h4 {
    color: #ff9500;
}

.roi-card.ai-enabled-roi h4 {
    color: #007aff;
}

.roi-calculation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roi-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.roi-label {
    color: #d1d1d6;
    font-size: 0.9rem;
}

.roi-value {
    color: #f5f5f7;
    font-weight: 600;
}

/* ===== Evaluation Tools Section ===== */
.tools-overview {
    margin-bottom: 3rem;
}

.tools-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1d6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.tool-components h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.component-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.component-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 122, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.component-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.component-header i {
    font-size: 1.5rem;
    color: #007aff;
    margin-right: 0.75rem;
    width: 24px;
}

.component-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f7;
}

.component-content p {
    color: #d1d1d6;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.feature-item i {
    color: #34c759;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    width: 12px;
}

.valuation-outputs {
    margin-top: 4rem;
}

.valuation-outputs h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.output-structure {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.output-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.output-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.output-section h4 i {
    color: #007aff;
    margin-right: 0.75rem;
}

.output-section p {
    color: #d1d1d6;
    line-height: 1.7;
}

.output-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0;
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-item h5 {
    color: #f5f5f7;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.comparison-item p {
    color: #d1d1d6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.value-example {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007aff;
}

.comparison-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #007aff;
    font-size: 1.5rem;
}

.ai-premium {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(0, 122, 255, 0.05));
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.ai-premium h5 {
    color: #34c759;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.scenario-planning {
    margin-top: 4rem;
}

.scenario-planning h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.scenario-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.scenario-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.scenario-option:hover {
    border-color: rgba(0, 122, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.scenario-option h4 {
    color: #f5f5f7;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.scenario-option ul {
    list-style: none;
    text-align: left;
}

.scenario-option li {
    color: #d1d1d6;
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.scenario-option li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: bold;
}

.implementation-roadmap {
    margin-top: 4rem;
}

.implementation-roadmap h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #f5f5f7;
}

.implementation-roadmap p {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.monitoring-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #007aff;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: #f5f5f7;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #d1d1d6;
    line-height: 1.6;
    margin: 0;
}

/* ===== Additional Responsive Adjustments ===== */
@media (max-width: 768px) {
    .productivity-grid {
        grid-template-columns: 1fr;
    }
    
    .productivity-details {
        grid-template-columns: 1fr;
    }
    
    .data-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .findings-grid {
        grid-template-columns: 1fr;
    }
    
    .margin-stats {
        grid-template-columns: 1fr;
    }
    
    .growth-factors {
        grid-template-columns: 1fr;
    }
    
    .growth-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .roi-comparison {
        grid-template-columns: 1fr;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .output-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .scenario-controls {
        grid-template-columns: 1fr;
    }
    
    .monitoring-benefits {
        grid-template-columns: 1fr;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 255, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 122, 255, 0.8);
}