:root {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F5F5F5;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent-primary: #DC2A01;
    --accent-secondary: #ff4444;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --border-subtle: #E5E5E5;
    --border-light: #F0F0F0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    --transition-fast: 150ms ease;
    --transition-medium: 250ms ease;
    --transition-slow: 400ms ease;
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-pill: 24px;
    
    --font-primary: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Roboto Mono', 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;
    
    --container-width: 1200px;
    --container-padding: 2rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.navbar.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar-pill {
    width: 65%;
    max-width: 750px;
    height: 78px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(8px);
    border-radius: 36px;
    display: flex;
    align-items: center;
    padding: 0 36px;
    transition: all var(--transition-medium);
    border-bottom: none;
}

.navbar.scrolled .navbar-pill {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.nav-brand:hover {
    text-decoration: none;
    color: inherit;
}

.nav-brand:focus {
    outline: none;
}

.nav-logo {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav-center {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-link {
    color: #5A5A5A;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    transition: all 120ms ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
    font-weight: 600;
}

.nav-link-cta {
    background: #000000;
    color: #FFFFFF;
    padding: 20px 32px;
    height: 45px;
    border-radius: 28px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    margin-left: 1rem;
    white-space: nowrap;
}

.nav-link-cta:hover {
    transform: scale(1.04);
    background: rgba(0, 0, 0, 0.94);
}

.nav-link-cta:active {
    transform: scale(1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-cta-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-mobile-menu {
    display: none;
}

.nav-mobile-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.nav-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary {
    background: #000000;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: scale(1.04);
    background: rgba(0, 0, 0, 0.94);
    box-shadow: var(--shadow-lg);
}

.btn-primary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* ================================
   CORTAL LOGO
   ================================ */

.cortal-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #DC2A01;
    animation: pulse-ring 3s infinite;
}

.nav-logo .cortal-circle.outer {
    width: 32px;
    height: 32px;
    top: 0;
    left: 0;
}

.nav-logo .cortal-circle.middle {
    width: 22px;
    height: 22px;
    top: 5px;
    left: 5px;
    animation-delay: 0.4s;
}

.nav-logo .cortal-circle.inner {
    width: 12px;
    height: 12px;
    top: 10px;
    left: 10px;
    animation-delay: 0.8s;
}

.nav-logo .cortal-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #DC2A01 0%, #ff4444 100%);
    border-radius: 50%;
    top: 13px;
    left: 13px;
    animation: pulse-dot 3s infinite;
}

.footer-logo .cortal-circle.outer {
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
}

.footer-logo .cortal-circle.middle {
    width: 28px;
    height: 28px;
    top: 6px;
    left: 6px;
    animation-delay: 0.4s;
}

.footer-logo .cortal-circle.inner {
    width: 16px;
    height: 16px;
    top: 12px;
    left: 12px;
    animation-delay: 0.8s;
}

.footer-logo .cortal-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #DC2A01 0%, #ff4444 100%);
    border-radius: 50%;
    top: 16px;
    left: 16px;
    animation: pulse-dot 3s infinite;
}

@keyframes pulse-ring {
    0% { opacity: 1; transform: scale(0.8); }
    50% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(0.8); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    padding: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 80%, rgba(147, 51, 234, 0.4) 0%, rgba(249, 115, 22, 0.3) 50%, transparent 100%),
        var(--bg-primary);
    filter: blur(0px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(250, 250, 250, 0.3) 30%, rgba(250, 250, 250, 0.7) 70%, var(--bg-primary) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    width: max-content;
    border: 1px solid var(--border-subtle);
}

.badge-icon {
    font-size: 1rem;
}

.hero-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.hero-logo {
    position: relative;
    width: 80px;
    height: 80px;
}

.hero-brand-name {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-logo .cortal-circle.outer {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
}

.hero-logo .cortal-circle.middle {
    width: 56px;
    height: 56px;
    top: 12px;
    left: 12px;
    animation-delay: 0.4s;
}

.hero-logo .cortal-circle.inner {
    width: 32px;
    height: 32px;
    top: 24px;
    left: 24px;
    animation-delay: 0.8s;
}

.hero-logo .cortal-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #DC2A01 0%, #ff4444 100%);
    border-radius: 50%;
    top: 32px;
    left: 32px;
    animation: pulse-dot 3s infinite;
}

.hero-title-container {
    margin-bottom: 1rem;
    text-align: center;
}

.hero-title-rotating {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    width: 100%;
    text-align: center;
}

.title-text {
    display: block;
    width: 100%;
    text-align: center;
    transition: opacity 1.2s ease-in-out;
    opacity: 1;
}

.title-text.current {
    opacity: 1;
}

.title-text.fade-in {
    opacity: 0;
}

.title-text.exit-left {
    opacity: 0;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0;
}

.hero-subtext {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
    line-height: 1.4;
}

.social-proof-bar {
    background: rgba(220, 42, 1, 0.1);
    border: 1px solid rgba(220, 42, 1, 0.3);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
}

.proof-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 500;
    text-align: center;
    display: block;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.play-icon {
    font-size: 0.75rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ================================
   HERO VISUAL
   ================================ */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.animated-dashboard {
    width: 480px;
    height: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: rotate(0deg);
    animation: float 6s ease-in-out infinite;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(0deg) translateY(-2px); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.dashboard-stats {
    display: flex;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: calc(100% - 80px);
}

.skill-progress-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.skill-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.skill-category[data-delay="0"] { animation-delay: 0ms; }
.skill-category[data-delay="300"] { animation-delay: 300ms; }
.skill-category[data-delay="600"] { animation-delay: 600ms; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
}

.category-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.animate-progress {
    animation: fillBar 1.5s ease forwards;
}

.skill-category[data-delay="0"] .animate-progress { animation-delay: 200ms; }
.skill-category[data-delay="300"] .animate-progress { animation-delay: 500ms; }
.skill-category[data-delay="600"] .animate-progress { animation-delay: 800ms; }

@keyframes fillBar {
    to { width: calc(var(--progress) * 1%); }
}

/* Ensure progress bars start from 0 width so keyframe animation is visible */
.progress-fill {
    width: 0%;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
}

.skill-category.critical {
    border-left: 3px solid var(--accent-primary);
    padding-left: 12px;
    margin-left: -15px;
}

.skill-category.critical .category-name {
    color: var(--accent-primary);
    font-weight: 600;
}

.recent-activity {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

.recent-activity[data-delay="900"] { animation-delay: 900ms; }

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

.recent-activity h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.activity-item.current .activity-icon {
    background: rgba(220, 42, 1, 0.1);
    color: var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
}

.activity-item.next .activity-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.activity-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.activity-progress {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.activity-item.current .activity-progress {
    color: var(--accent-primary);
}

.app-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-browser {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.browser-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    background: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
    flex: 1;
}

.browser-content {
    padding: 2rem;
}

.assessment-interface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assessment-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assessment-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.speed-timer {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin: 0.5rem 0;
    animation: pulse-timer 2s infinite;
}

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

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width var(--transition-medium);
}

.question-card {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
}

.question-text {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.code-block {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option {
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-light);
}

.option.selected {
    background: rgba(220, 42, 1, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.skill-indicators {
    display: flex;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.skill-name {
    color: var(--text-secondary);
}

.skill-level {
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.skill-level.advanced {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.skill-level.intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.skill-level.mastered {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.skill-level.learning {
    background: rgba(220, 42, 1, 0.2);
    color: var(--accent-primary);
}

/* ================================
   SECTION HEADERS
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-highlight {
    margin-top: 1rem;
}

.highlight-text {
    background: rgba(220, 42, 1, 0.1);
    color: var(--accent-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ================================
   SECTION BADGES
   ================================ */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 42, 1, 0.1);
    border: 1px solid rgba(220, 42, 1, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    width: max-content;
}

.badge-icon {
    font-size: 1rem;
}

/* ================================
   AI TUTOR SECTION
   ================================ */

.ai-tutor-section {
    padding: 80px 0;
}

.ai-tutor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-tutor-text h2 {
    margin-bottom: 1rem;
}

.ai-tutor-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.ai-tutor-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.ai-feature-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.ai-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ai-feature-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.ai-feature-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Chat Mockup */
.chat-mockup {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.chat-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.chat-avatar .cortal-circle.outer {
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
}

.chat-avatar .cortal-circle.middle {
    width: 28px;
    height: 28px;
    top: 6px;
    left: 6px;
    animation-delay: 0.4s;
}

.chat-avatar .cortal-circle.inner {
    width: 16px;
    height: 16px;
    top: 12px;
    left: 12px;
    animation-delay: 0.8s;
}

.chat-avatar .cortal-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #DC2A01 0%, #ff4444 100%);
    border-radius: 50%;
    top: 16px;
    left: 16px;
    animation: pulse-dot 3s infinite;
}

.chat-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.status-indicator {
    font-size: 0.75rem;
    color: var(--success-color);
}

.chat-messages {
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ai-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    line-height: 1.4;
}

.ai-message .message-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.user-message .message-content {
    background: linear-gradient(135deg, #DC2A01 0%, #ff6b3d 100%);
    color: #fff;
    border: none;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    color: inherit;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.code-snippet {
    background: var(--bg-primary);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid var(--border-subtle);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* Ensure user messages keep left-indexed timestamp */
.user-message .message-time {
    align-self: flex-start;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: typing-pulse 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-pulse {
    0%, 80%, 100% { transform: scale(1); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.chat-input input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ================================
   SKILL TREE SECTION
   ================================ */

.skill-tree-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.skill-tree-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.skill-tree-text h2 {
    margin-bottom: 1rem;
}

.skill-tree-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.skill-tree-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.tree-feature-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.tree-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tree-feature-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.tree-feature-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Skill Tree Mockup */
.skill-tree-mockup {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.tree-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.tree-header h3 {
    margin: 0;
    font-size: 1.125rem;
}

.completion-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.completion-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.completion-bar {
    width: 80px;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

.skill-tree-map {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.skill-layer {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.skill-node-interactive {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 2px solid;
    cursor: pointer;
    transition: all var(--transition-medium);
    min-width: 80px;
    text-align: center;
}

.skill-node-interactive.completed {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.skill-node-interactive.current {
    background: rgba(220, 42, 1, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(220, 42, 1, 0.2);
}

.skill-node-interactive.available {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.skill-node-interactive.available:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.skill-node-interactive.locked {
    background: var(--bg-tertiary);
    border-color: var(--border-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.node-icon {
    font-size: 1rem;
    font-weight: 600;
}

.node-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.node-confidence {
    font-size: 0.65rem;
    opacity: 0.8;
}

.skill-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

.connection-line.completed {
    stroke: var(--success-color);
    stroke-width: 2;
}

.connection-line.current {
    stroke: var(--accent-primary);
    stroke-width: 2;
    animation: pulse-line 2s infinite;
}

.connection-line.available {
    stroke: var(--text-muted);
    stroke-width: 1;
    stroke-dasharray: 5,5;
}

.connection-line.locked {
    stroke: var(--border-subtle);
    stroke-width: 1;
    opacity: 0.5;
}

@keyframes pulse-line {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skill-details {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-subtle);
}

.skill-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.skill-details p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.skill-prerequisites {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.skill-prerequisites strong {
    color: var(--text-secondary);
}

.continue-learning-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.continue-learning-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   HOW IT WORKS SECTION
   ================================ */

.how-it-works {
    padding: 80px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.step:nth-child(even) {
    grid-template-columns: auto auto 1fr;
}

.step:nth-child(even) .step-visual {
    order: -1;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-feature {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.step-visual {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    min-width: 300px;
}

/* Step Visual Components */
.assessment-preview,
.skill-tree-preview,
.roadmap-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-counter {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.difficulty-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.difficulty-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.difficulty-bars {
    display: flex;
    gap: 0.25rem;
}

.bar {
    width: 12px;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
}

.bar.active {
    background: var(--accent-primary);
}

.skill-node {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.skill-node.completed {
    background: rgba(40, 167, 69, 0.2);
    border-color: var(--success-color);
    color: var(--success-color);
}

.skill-node.current {
    background: rgba(220, 42, 1, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.skill-node.locked {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.roadmap-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 20px;
    text-align: center;
    font-weight: 500;
}

.roadmap-item.completed .item-icon {
    color: var(--success-color);
}

.roadmap-item.current .item-icon {
    color: var(--accent-primary);
}

.roadmap-item.upcoming .item-icon {
    color: var(--text-muted);
}

.item-text {
    font-size: 0.875rem;
}

.roadmap-item.completed .item-text {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.roadmap-item.current .item-text {
    color: var(--text-primary);
    font-weight: 500;
}

.roadmap-item.upcoming .item-text {
    color: var(--text-muted);
}

/* ================================
   PRODUCT SHOWCASE
   ================================ */

.product-showcase {
    padding: 80px 0;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    min-height: 600px; /* Ensure minimum height */
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    margin-bottom: 1rem;
}

.showcase-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.feature-icon-small {
    font-size: 1.5rem;
    line-height: 1;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.skill-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.score-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.category-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 0;
    flex: 1;
}

.category-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.category-progress .progress-bar {
    width: 60px;
    height: 6px;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 30px;
}

.recent-assessments h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.assessment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.assessment-item:last-child {
    border-bottom: none;
}

.assessment-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.assessment-score {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.assessment-score.advanced {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.assessment-score.intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.assessment-score.beginner {
    background: rgba(220, 53, 69, 0.2);
    color: var(--error-color);
}

.assessment-score.current {
    background: rgba(220, 42, 1, 0.2);
    color: var(--accent-primary);
    animation: pulse-current 2s infinite;
}

.assessment-score.sprint {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.assessment-score.velocity {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
    font-weight: 600;
}

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

.skill-category.critical {
    border-left: 3px solid var(--accent-primary);
    padding-left: 0.5rem;
}

.skill-category.critical .category-name {
    color: var(--accent-primary);
    font-weight: 500;
}

.skill-detection {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detection-bar {
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.detection-bar.intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.detection-confidence {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.eta-display {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(220, 42, 1, 0.1);
    border: 1px solid rgba(220, 42, 1, 0.3);
    border-radius: var(--border-radius-sm);
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
}

.skill-node.critical {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.item-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* ================================
   SOCIAL PROOF SECTION
   ================================ */

.social-proof {
    padding: 60px 0;
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
}

.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ================================
   WHY CORTAL SECTION
   ================================ */

.why-cortal {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.why-cortal-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.problem-section h2,
.solution-section h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.problem-points,
.solution-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-point,
.solution-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon,
.solution-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.problem-text h4,
.solution-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.problem-text p,
.solution-text p {
    color: var(--text-secondary);
    margin: 0;
}

.transformation-promise {
    text-align: center;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
}

.transformation-promise h2 {
    margin-bottom: 2rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.before,
.after {
    text-align: left;
}

.before h3,
.after h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.before h3 {
    color: var(--error-color);
}

.after h3 {
    color: var(--success-color);
}

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

.before li,
.after li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.before li::before {
    content: "❌";
    position: absolute;
    left: 0;
}

.after li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.urgency-section {
    text-align: center;
}

.urgency-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--accent-primary);
    max-width: 500px;
    margin: 0 auto;
}

.urgency-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.urgency-card p {
    margin-bottom: 1.5rem;
}

.urgency-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.urgency-feature {
    color: var(--success-color);
    font-size: 0.875rem;
}

.urgency-feature::before {
    content: "✓ ";
    margin-right: 0.5rem;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.testimonial-detailed {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-medium);
}

.testimonial-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.125rem;
}

.rating-text {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-detailed .testimonial-content {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author-detailed {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-details .author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.author-details .author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.author-result {
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 500;
}

/* ================================
   EARLY ACCESS SECTION
   ================================ */

.early-access-section {
    padding: 80px 0;
    min-height: 100vh;
    text-align: center;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
}

.early-access-content h2 {
    margin-bottom: 1rem;
}

.early-access-content p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.early-access-form {
    max-width: 500px;
    margin: 0 auto 3rem auto;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-footer {
    text-align: center;
}

.signup-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius-lg);
}

.success-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
}

.beta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border-subtle);
}

.benefit-icon {
    font-size: 1.125rem;
}

.benefit-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--bg-primary);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-brand .brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
    max-width: 250px;
}

.footer-logo {
    position: relative;
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}

.footer-logo img:hover {
    opacity: 1 !important;
}

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

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: var(--text-secondary);
}

.footer-built span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ================================
   AUTH PAGES
   ================================ */

.auth-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 80%, rgba(147, 51, 234, 0.4) 0%, rgba(220, 42, 1, 0.3) 50%, transparent 100%),
        var(--bg-primary);
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.auth-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(250, 250, 250, 0.3) 30%, rgba(250, 250, 250, 0.7) 70%, var(--bg-primary) 100%);
    pointer-events: none;
}

.auth-container {
    max-width: 480px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    margin: 0;
    position: relative;
    z-index: 2;
    background: transparent;
    width: auto;
}

.auth-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.auth-logo .cortal-circle.outer {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
}

.auth-logo .cortal-circle.middle {
    width: 42px;
    height: 42px;
    top: 9px;
    left: 9px;
    animation-delay: 0.4s;
}

.auth-logo .cortal-circle.inner {
    width: 24px;
    height: 24px;
    top: 18px;
    left: 18px;
    animation-delay: 0.8s;
}

.auth-logo .cortal-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #DC2A01 0%, #ff4444 100%);
    border-radius: 50%;
    top: 24px;
    left: 24px;
    animation: pulse-dot 3s infinite;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.auth-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.auth-form input {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    min-height: 48px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(220, 42, 1, 0.1);
}

.auth-form input::placeholder {
    color: var(--text-muted);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    accent-color: var(--accent-primary);
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-submit {
    margin-top: 1rem;
    min-height: 52px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.auth-divider span {
    background: var(--bg-secondary);
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    min-height: 52px;
}

.btn-google:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.auth-footer p {
    margin: 0;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Hide footer on auth pages to save space */
.auth-page-footer {
    display: none;
}

/* ================================
   ERROR PAGE
   ================================ */

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 80%, rgba(147, 51, 234, 0.4) 0%, rgba(220, 42, 1, 0.3) 50%, transparent 100%),
        var(--bg-primary);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.error-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(250, 250, 250, 0.3) 30%, rgba(250, 250, 250, 0.7) 70%, var(--bg-primary) 100%);
    pointer-events: none;
}

.error-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.error-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(220, 42, 1, 0.1);
    border: 1px solid rgba(220, 42, 1, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.error-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-icon {
    width: 16px;
    height: 16px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .hero-title-rotating {
        font-size: 3.5rem;
    }
    
    .hero-brand {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        width: 70px;
        height: 70px;
    }
    
    .hero-brand-name {
        font-size: 2rem;
    }
    
    .hero-title-container {
        height: 4rem;
    }
    
    .hero-logo .cortal-circle.outer {
        width: 70px;
        height: 70px;
    }
    
    .hero-logo .cortal-circle.middle {
        width: 49px;
        height: 49px;
        top: 10.5px;
        left: 10.5px;
    }
    
    .hero-logo .cortal-circle.inner {
        width: 28px;
        height: 28px;
        top: 21px;
        left: 21px;
    }
    
    .hero-logo .cortal-dot {
        width: 14px;
        height: 14px;
        top: 28px;
        left: 28px;
    }
    
    .animated-dashboard {
        width: 420px;
        height: 280px;
        padding: 20px;
    }
    
    .showcase-content,
    .ai-tutor-content,
    .skill-tree-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .ai-tutor-visual {
        order: -1;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .step:nth-child(even) .step-visual {
        order: 0;
    }
    
    .step-visual {
        min-width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .chat-mockup,
    .skill-tree-mockup {
        max-width: 100%;
    }
}

@media (max-width: 1279px) {
    .navbar-pill {
        padding: 0 28px;
        width: 75%;
        max-width: 850px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 3rem;
    }
    
    .nav-link-cta {
        padding: 18px 28px;
        font-size: 14px;
        margin-left: 0.75rem;
    }
}

@media (max-width: 767px) {
    :root {
        --container-padding: 1rem;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .navbar-pill {
        padding: 0 20px;
        width: 100%;
        height: 70px;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .nav-mobile-menu {
        display: block;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(8px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        z-index: 40;
    }
    
    .nav-mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-mobile-menu .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .hero-title-rotating {
        font-size: 2rem;
    }
    
    .hero-brand {
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        width: 50px;
        height: 50px;
    }
    
    .hero-brand-name {
        font-size: 1.6rem;
    }
    
    .hero-title-container {
        height: 3rem;
    }
    
    .hero-logo .cortal-circle.outer {
        width: 50px;
        height: 50px;
    }
    
    .hero-logo .cortal-circle.middle {
        width: 35px;
        height: 35px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .hero-logo .cortal-circle.inner {
        width: 20px;
        height: 20px;
        top: 15px;
        left: 15px;
    }
    
    .hero-logo .cortal-dot {
        width: 10px;
        height: 10px;
        top: 20px;
        left: 20px;
    }
    
    .hero-brand {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    
    .hero-brand-name {
        font-size: 1.8rem;
    }
    
    .hero-logo .cortal-circle.outer {
        width: 60px;
        height: 60px;
    }
    
    .hero-logo .cortal-circle.middle {
        width: 42px;
        height: 42px;
        top: 9px;
        left: 9px;
    }
    
    .hero-logo .cortal-circle.inner {
        width: 24px;
        height: 24px;
        top: 18px;
        left: 18px;
    }
    
    .hero-logo .cortal-dot {
        width: 12px;
        height: 12px;
        top: 24px;
        left: 24px;
    }
    
    .hero-subtext {
        font-size: 18px;
    }
    
    .animated-dashboard {
        width: 360px;
        height: 240px;
        padding: 18px;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .before-after {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .beta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title-rotating {
        font-size: 2.5rem;
    }
    
    .hero-title-container {
        height: 3.5rem;
    }
    
    .hero-subtext {
        font-size: 16px;
    }
    
    .animated-dashboard {
        width: 300px;
        height: 200px;
        padding: 16px;
    }
    
    .dashboard-header h3 {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .category-name {
        font-size: 12px;
        min-width: 100px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .features,
    .how-it-works,
    .product-showcase,
    .cta-section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .steps-container {
        gap: 3rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .mockup-browser {
        border-radius: var(--border-radius-md);
    }
    
    .browser-content {
        padding: 1rem;
    }
    
    .dashboard-mockup {
        padding: 1.5rem;
    }
    
    /* Auth pages responsive */
    .auth-section {
        padding: 80px 0 10px;
    }
    
    .auth-content {
        padding: 1.5rem;
        max-height: calc(100vh - 100px);
    }
    
    .auth-container {
        padding: 0 1rem;
    }
    
    .auth-header {
        margin-bottom: 1rem;
    }
    
    .auth-logo {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }
    
    .auth-logo .cortal-circle.outer {
        width: 50px;
        height: 50px;
    }
    
    .auth-logo .cortal-circle.middle {
        width: 35px;
        height: 35px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .auth-logo .cortal-circle.inner {
        width: 20px;
        height: 20px;
        top: 15px;
        left: 15px;
    }
    
    .auth-logo .cortal-dot {
        width: 10px;
        height: 10px;
        top: 20px;
        left: 20px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .error-btn {
        width: 100%;
        justify-content: center;
    }
    
    .error-title {
        font-size: 2.5rem;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cortal-circle,
    .cortal-dot {
        animation: none;
    }
}

/* Focus styles */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: none;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-subtle: #555555;
    }
}

/* Animation classes for scroll-triggered animations */
.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card,
.step,
.showcase-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* ================================
   TIME SAVED STATS (UPDATED)
   ================================ */

.time-saved-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* ================================
   TRANSFORM LEARNING SECTION
   ================================ */

.transform-learning {
    padding: 80px 0;
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
}

.transform-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ================================
   HOW CORTAL WORKS SECTION
   ================================ */

.how-cortal-works {
    padding: 80px 0;
    min-height: 100vh;
    background: var(--bg-primary);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-showcase.reverse .feature-visual {
    order: -1;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-showcase h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-showcase p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.benefit::before {
    content: "✓";
    color: var(--success-color);
    font-weight: 600;
    font-size: 1rem;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-visual .assessment-interface,
.feature-visual .chat-mockup,
.feature-visual .skill-tree-mockup,
.feature-visual .dashboard-mockup {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.feature-visual .tree-header h4,
.feature-visual .dashboard-header h4,
.feature-visual .assessment-header h4 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.feature-visual .chat-info h5 {
    font-size: 0.875rem;
    margin: 0;
}

/* ================================
   HORIZONTAL TESTIMONIALS SCROLLER
   ================================ */

.testimonials-scroller {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Animation will be dynamically added by JavaScript */
    animation: testimonials-fallback 60s linear infinite;
}

@keyframes testimonials-fallback {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Testimonials scroll animation is now dynamically generated by JavaScript */

.testimonial-detailed {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-medium);
}

.testimonial-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

/* Testimonials are now duplicated dynamically by JavaScript for seamless loop */

/* ================================
   RESPONSIVE UPDATES
   ================================ */

@media (max-width: 1024px) {
    .feature-showcase,
    .feature-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .feature-showcase.reverse .feature-visual {
        order: 0;
    }
    
    .features-showcase {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .how-cortal-works {
        padding: 60px 0;
    }
    
    .features-showcase {
        gap: 3rem;
    }
    
    .feature-showcase {
        gap: 2rem;
    }
    
    .feature-visual .assessment-interface,
    .feature-visual .chat-mockup,
    .feature-visual .skill-tree-mockup,
    .feature-visual .dashboard-mockup {
        max-width: 100%;
        padding: 1rem;
    }
    
    .testimonial-detailed {
        flex: 0 0 300px;
        padding: 1.5rem;
    }
    
    .time-saved-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ================================
   SIDEBAR SKILL TREES
   ================================ */
.sidebar-subitems {
    margin-top: 0.25rem;
    margin-left: 0.75rem;
    border-left: 1px solid var(--border-subtle);
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-subitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
    min-height: 28px;
}

.sidebar-subitem:hover {
    background: var(--bg-secondary);
    border-color: var(--border-subtle);
}

.subitem-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: capitalize;
    flex-grow: 1;
}

.sidebar-subitem:hover .subitem-label {
    color: var(--text-primary);
}

.node-count {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-tertiary);
    background: transparent;
    padding: 0;
    border-radius: 0;
    min-width: 16px;
    text-align: center;
    border: none;
}

.sidebar-subitem:hover .node-count {
    color: var(--accent-primary);
}

/* ================================
   LOADING ANIMATIONS
   ================================ */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    display: inline-block;
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 37%, var(--bg-tertiary) 63%);
    background-size: 400px 100%;
    animation: skeleton-loading 1.4s ease-in-out infinite;
}

.skeleton-card {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 14px;
}

.skeleton-thumbnail {
    width: 140px;
    height: 80px;
    border-radius: 8px;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-title {
    height: 18px;
    width: 60%;
    border-radius: 4px;
}

.skeleton-meta {
    height: 14px;
    width: 40%;
    border-radius: 4px;
}

.skeleton-summary {
    height: 14px;
    border-radius: 4px;
    margin-top: 2px;
}

.skeleton-summary.line1 { width: 100%; }
.skeleton-summary.line2 { width: 85%; }
.skeleton-summary.line3 { width: 70%; } 