/* ===== VARIABLES - BRIGHT DESIGN SYSTEM ===== */
:root {
    --white: #FFFFFF;
    --light: #F4F8FF;
    --gray-100: #EDF3FF;
    --gray-200: #D6E4FF;
    --gray-400: #7B8AAC;
    --gray-600: #4A5A7A;
    --gray-800: #0B1B3A;
    --dark: #0B1B3A;
    --primary: #3A7BFF;
    --primary-dark: #2F6BFF;
    --primary-light: #EAF2FF;
    --accent: #FFC957;
    --accent-light: #FFF3CC;
    --success: #10B981;
    --success-light: #D1FAE5;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --gradient-hero: linear-gradient(135deg, #6FA6FF 0%, #3A7BFF 45%, #2F6BFF 100%);
    --gradient-gold: linear-gradient(135deg, #FFE08A 0%, #FFC957 100%);
    --glow-gold: 0 6px 18px rgba(255,201,87,0.35);
    --shadow-card: 0 12px 30px rgba(58,123,255,0.12);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--light);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 16px;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    padding: 0.875rem 1.5rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--dark);
    text-decoration: none;
}

.header-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-weight: 500;
    padding-left: 1.5rem;
    border-left: 1px solid var(--gray-200);
}

/* ===== NAV TABS ===== */
.nav-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--light);
    padding: 0.375rem;
    border-radius: 12px;
}

.nav-tab {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.nav-tab:hover {
    color: var(--primary);
}

.nav-tab.active {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-cta {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== MAIN CONTENT ===== */
main {
    padding-top: 5rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

/* ===== SECTION STYLES ===== */
.section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== REALITY TAB ===== */
.tools-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--accent-light);
    border-radius: 12px;
    font-size: 1.0625rem;
    color: var(--gray-800);
}

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

.tool-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tool-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.tool-category {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.tool-gap {
    font-size: 0.8125rem;
    color: var(--danger);
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    background: var(--danger-light);
    border-radius: 6px;
    display: inline-block;
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.chart-container {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-wrapper {
    height: 250px;
    position: relative;
}

/* ===== SCENARIOS TAB ===== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.scenario-btn {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: var(--font);
}

.scenario-btn:hover {
    border-color: var(--primary);
}

.scenario-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.scenario-btn .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.scenario-btn .title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.scenario-btn .subtitle {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Comparison Display */
.comparison-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-side {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--gray-100);
}

.comparison-side.bad {
    border-color: var(--danger-light);
}

.comparison-side.good {
    border-color: var(--success-light);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-header .badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.comparison-side.bad .badge {
    background: var(--danger-light);
    color: var(--danger);
}

.comparison-side.good .badge {
    background: var(--success-light);
    color: var(--success);
}

.comparison-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

.comparison-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-time {
    flex-shrink: 0;
    width: 70px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-600);
    padding-top: 0.125rem;
}

.step-content {
    flex: 1;
    background: var(--light);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.comparison-side.bad .step-content {
    background: var(--danger-light);
}

.comparison-side.good .step-content {
    background: var(--success-light);
}

.comparison-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.comparison-side.bad .comparison-result {
    background: var(--danger);
    color: white;
}

.comparison-side.good .comparison-result {
    background: var(--success);
    color: white;
}

/* ===== DIFFERENCE TAB ===== */
.differences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.difference-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s;
}

.difference-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.difference-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.difference-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

.difference-comparison {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.diff-item {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.diff-item.not {
    background: var(--danger-light);
    color: var(--danger);
}

.diff-item.yes {
    background: var(--success-light);
    color: var(--success);
}

.diff-label {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

/* Connected Visual */
.connected-visual {
    background: var(--light);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 2rem;
}

.visual-header {
    text-align: center;
    margin-bottom: 2rem;
}

.visual-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.visual-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.visual-side {
    text-align: center;
}

.visual-side h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

.visual-side.disconnected h4 {
    background: var(--danger-light);
    color: var(--danger);
}

.visual-side.connected h4 {
    background: var(--success-light);
    color: var(--success);
}

.tool-nodes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tool-node {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 2px solid var(--gray-200);
}

.visual-side.connected .tool-node {
    border-color: var(--primary);
}

.hub-node {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 1.5rem auto;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ===== PROOF TAB ===== */
.timeline-container {
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gray-200);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 1;
}

.timeline-item.active .timeline-marker {
    background: var(--primary);
    color: white;
}

.timeline-time {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.timeline-result {
    background: var(--success);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.timeline-result h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-result p {
    opacity: 0.9;
}

/* Play Button */
.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto 2rem;
    transition: all 0.2s;
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .comparison-display {
        grid-template-columns: 1fr;
    }
    
    .differences-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-left {
        justify-content: space-between;
    }
    
    .header-subtitle {
        display: none;
    }
    
    .nav-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-tab {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .header-cta {
        display: none;
    }
    
    main {
        padding-top: 8rem;
    }
    
    .section {
        padding: 2.5rem 1.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-time {
        width: auto;
    }
    
    .connected-visual {
        padding: 1.5rem;
    }
    
    .tool-nodes {
        gap: 0.75rem;
    }
    
    .tool-node {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .hub-node {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .difference-comparison {
        flex-direction: column;
    }
}
