/* Workshop Page - shipkaro */

:root {
    --purple: #A78BFA;
    --purple-dark: #8B5CF6;
    --purple-light: #C4B5FD;
    --black: #1a1a1a;
    --gray: #6b7280;
    --gray-dark: #374151;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --cream: #faf8f5;
    --butter: #fef3c7;
    --green-light: #dcfce7;
    --green-dark: #166534;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--black);
    line-height: 1.6;
}

/* Navigation - same as main site */
.nav {
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 100;
    border-bottom: 1px solid var(--gray-light);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-icon {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-link-cta {
    background: var(--purple);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link-cta:hover {
    background: var(--purple-dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--black);
    padding: 5rem 2rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(167, 139, 250, 0.1);
    color: var(--purple-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Past Event Badge */
.badge.badge-past {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
}

.badge.badge-past .badge-dot {
    background: #dc2626;
    animation: none;
}

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

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--black);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.cta-button-light {
    background: var(--white);
    color: var(--black);
}

.cta-button-light:hover {
    background: var(--gray-light);
}

/* Registration Closed CTA */
.cta-button.cta-closed {
    background: #d1d5db;
    color: #6b7280;
    cursor: default;
}

.cta-button.cta-closed:hover {
    background: #d1d5db;
    transform: none;
}

.cta-button-light.cta-closed {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.cta-button-light.cta-closed:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-date {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-light {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Prerequisites Grid */
.prereq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.prereq-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.prereq-links-row {
    display: flex;
    gap: 1.5rem;
}

.prereq-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.prereq-card-highlight {
    background: var(--butter);
    border: 2px solid var(--purple-light);
}

.prereq-number {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background: var(--purple);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.prereq-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.prereq-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.prereq-link {
    font-size: 0.9rem;
    color: var(--purple-dark);
    text-decoration: none;
    font-weight: 500;
}

.prereq-link:hover {
    text-decoration: underline;
}

.prereq-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.prereq-note a {
    color: var(--purple-dark);
}

/* Info Grid (Pricing section) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card > p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.info-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.info-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
}

.info-line {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 0.4rem;
}

.info-line code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Mode Grid */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.mode-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.mode-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mode-card p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.4;
}

.mode-card-highlight {
    border-color: var(--purple);
    background: rgba(167, 139, 250, 0.05);
}

/* Scenario Text */
.scenario-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.scenario-list {
    list-style: none;
    margin-top: 0.5rem;
}

.scenario-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: var(--gray-dark);
}

.scenario-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Act Header */
.act-header {
    margin-bottom: 3rem;
}

.act-label {
    display: inline-block;
    background: var(--purple);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Steps */
.step {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.step-number {
    background: var(--black);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.step-context {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Code Box */
.code-box {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Learned Box */
.learned-box {
    background: var(--butter);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 4px solid #f59e0b;
}

.learned-box strong {
    color: var(--black);
}

.learned-box code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Insight inline code */
.insight code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Insight Box */
.insight {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.insight span {
    flex-shrink: 0;
}

/* Celebration Box */
.celebration-box {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Reference Grid */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.reference-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
}

.reference-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--purple);
}

.reference-table {
    width: 100%;
    font-size: 0.85rem;
}

.reference-table td {
    padding: 0.5rem 0;
    vertical-align: top;
}

.reference-table td:first-child {
    width: 40%;
    padding-right: 0.75rem;
}

.reference-table code {
    background: var(--gray-light);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--gray);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-section > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-date {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    background-color: var(--gray-light);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--gray);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--purple);
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 900px) {
    .prereq-grid,
    .prereq-grid-4,
    .reference-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .mode-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .nav-link-cta {
        padding: 0.4rem 0.75rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .code-box {
        font-size: 0.8rem;
        padding: 0.875rem 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}
