﻿:root {
    /* Brand gradient stops derived from header logo */
    --brand-start: #f9f7f7;  /* indigo */
    --brand-mid:   #ebe9f0;  /* blue */
    --brand-end:   #faf4f4;  /* cyan */
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
    background-attachment: fixed;
    color: #f1f5f9;
    overflow-x: hidden;
}
.heading-mono, h1, h2, h3, .section-title, .btn-brand {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Plan-workshop page background: image blended under the base gradient */
.plan-workshop-page {
    /* Layer the site gradient with the workshop image using multiply blend */
    background-image: linear-gradient(135deg, rgba(15,23,42,0.96) 0%, rgba(30,41,59,0.92) 45%, rgba(12,74,110,0.88) 100%), url('../../images/slide/20-greg-lecture-narkesg.webp');
    background-size: cover;            /* landscape image covers viewport */
    background-position: center;       /* center focus */
    background-repeat: no-repeat;
    background-attachment: fixed;      /* parallax feel like the base */
    background-blend-mode: multiply;   /* blend image with gradient */
}

.hero-bg {
    /* Darker, more subdued gradient to match other sections */
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.94) 0%,      /* slate-900 */
        rgba(30, 41, 59, 0.92) 55%,     /* slate-800 */
        rgba(12, 74, 110, 0.88) 100%    /* sky-900 teal tint */
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(2, 8, 20, 0.4);
}

/* Form input shading (restored) */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
    background-color: rgba(15, 23, 42, 0.5); /* slate-900/50 */
    border: 1px solid rgba(51, 65, 85, 0.9);  /* slate-700 */
    color: #e2e8f0; /* slate-200 */
}
/* Ensure native form controls use dark-themed system UI (select dropdown, etc.) */
input,
select,
textarea {
    color-scheme: dark;
}
input::placeholder,
textarea::placeholder {
    color: #64748b; /* slate-500 */
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35); /* indigo-500 */
    border-color: #6366f1;
}

.feature-card {
    opacity: 0;
    transform: translateY(50px);
}

.model-bg {
    background: linear-gradient(rgba(15,23,42,0.9), rgba(15,23,42,0.9));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gradient-text {
    background: linear-gradient(90deg, var(--brand-start) 0%, var(--brand-mid) 50%, var(--brand-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #1e3a8a; /* dark blue */
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #1e3a8a; /* dark blue */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Brand buttons/text utilities */
.btn-brand {
    background-image: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    color: #ffffff;
}
.btn-brand:hover {
    filter: brightness(1.07);
}
.text-brand-gradient {
    background-image: linear-gradient(90deg, var(--brand-start), var(--brand-mid), var(--brand-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-neural {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    opacity: 0.2;
    z-index: -1;
    background: radial-gradient(circle, rgba(96,165,250,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(96, 165, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

.slide-in {
    animation: slideIn 1s ease-out forwards;
}

@keyframes panImage {
    0% { object-position: left center; }
    100% { object-position: right center; }
}

.slide-in:nth-child(2) {
    animation-delay: 0.3s;
}

.slide-in:nth-child(3) {
    animation-delay: 0.6s;
}

.slide-in:nth-child(4) {
    animation-delay: 0.9s;
}

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Slide states for slideshow */
.slide-main {
    opacity: 1 !important;
    z-index: 30 !important;
    transform: rotate(6deg) translate(20px, 20px) scale(1.05) !important;
}

.slide-under-1 {
    opacity: 0.8 !important;
    z-index: 20 !important;
    transform: rotate(-3deg) translate(-10px, 10px) scale(0.95) !important;
}

.slide-under-2 {
    opacity: 0.6 !important;
    z-index: 15 !important;
    transform: rotate(-6deg) translate(-20px, 5px) scale(0.9) !important;
}

.slide-under-3 {
    opacity: 0.4 !important;
    z-index: 10 !important;
    transform: rotate(-9deg) translate(-30px, 0px) scale(0.85) !important;
}

.slide-hidden {
    opacity: 0 !important;
    z-index: 0 !important;
    transform: rotate(-12deg) translate(-40px, -5px) scale(0.8) !important;
}
/* Journal cards */
.blog-card .cover { height: 180px; background: radial-gradient(ellipse at top, #37415155, #111827aa); }
.blog-card h3 { line-height: 1.2 }
.blog-card p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Baseline focus-visible styles for interactive elements */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6366f1; /* indigo-500 */
    outline-offset: 2px;
}

/* Hero CTA styling (independent of Tailwind variants) */
.cta-tab {
    background: linear-gradient(90deg, #fbbf24, #f43f5e);
}
.cta-link {
    border: 1px solid rgba(34, 211, 238, 0.7); /* cyan-400/70 */
    background: rgba(255, 255, 255, 0.05);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cta-link:hover {
    border-color: rgba(34, 211, 238, 0.8); /* cyan-300/80-ish */
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}



