/* Custom design system for SkillUp landing page */
:root {
    --bg-color: #08050e;
    --bg-gradient: radial-gradient(circle at 50% -20%, #1c0e35 0%, #08050e 70%);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-color: #f3effa;
    --text-muted: #9c92ae;
    
    --primary-color: #a855f7; /* Neon Purple */
    --primary-glow: rgba(168, 85, 247, 0.3);
    --secondary-color: #06b6d4; /* Neon Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.3);
    --success-color: #10b981; /* Emerald */
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning-color: #f59e0b; /* Amber */
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Orbitron', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 100;
    background: rgba(8, 5, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7e22ce 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    color: var(--text-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-glow);
    filter: blur(100px);
    top: 20%;
    right: 10%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--secondary-glow);
    filter: blur(100px);
    bottom: 10%;
    left: 10%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c084fc;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.5s;
}

.hero-image-wrapper:hover {
    transform: translateY(-5px);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Pillars Section */
.pillars {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.05);
}

.pillar-icon-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.02);
}

.pillar-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pillar-card:hover .pillar-icon-img {
    transform: scale(1.05);
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Interactive Demo Section */
.demo {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.demo-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.demo-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.demo-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.demo-step-num {
    width: 28px;
    height: 28px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.demo-step-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.demo-step-detail p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interactive Mock Ladder Styles */
.mock-laptop {
    background: #0f0a1d;
    border: 8px solid #231b34;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
}

.mock-screen {
    padding: 24px;
    min-height: 400px;
    background: linear-gradient(135deg, #0f0a1d 0%, #150d27 100%);
    position: relative;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.mock-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.mock-streak {
    font-size: 0.85rem;
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.mock-stage {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    overflow: hidden;
}

.mock-stage-header {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-stage-title-group span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.mock-stage-title-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.mock-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.mock-stage-body {
    padding: 18px;
}

.mock-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.02);
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.mock-step-item:hover {
    background: rgba(255,255,255,0.03);
}

.mock-step-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    margin-top: 1px;
}

.mock-step-title {
    font-size: 0.85rem;
    font-weight: 500;
}

.mock-step-item.completed .mock-step-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

.mock-submit-container {
    margin-top: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: none;
}

.mock-submit-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mock-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7e22ce 100%);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Mock base keyboard */
.mock-laptop-base {
    height: 12px;
    background: #191326;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Mock Modal Styles */
.mock-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mock-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.mock-modal-content {
    background: #161026;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.mock-modal-content h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.mock-modal-content p {
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.mock-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.mock-form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mock-radio-group {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.mock-radio-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.mock-radio-label input {
    accent-color: var(--primary-color);
}

.mock-input {
    width: 100%;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.mock-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.mock-modal-actions button {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.mock-btn-cancel {
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.mock-btn-submit {
    background: var(--primary-color);
    color: #fff;
}

/* Process Flow Section */
.flow {
    padding: 100px 0;
    position: relative;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.flow-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    backdrop-filter: blur(10px);
}

.flow-num {
    position: absolute;
    top: -20px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(6, 182, 212, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flow-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
}

.flow-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-card {
    background: linear-gradient(135deg, rgba(28, 14, 53, 0.6) 0%, rgba(8, 5, 14, 0.8) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 32px;
    padding: 80px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 50px rgba(168,85,247,0.05);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-glow);
    filter: blur(80px);
    top: -50px;
    left: -50px;
    border-radius: 50%;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 0;
    background: #050308;
    color: var(--text-muted);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .flow-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .navbar-container .btn {
        display: none;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
