:root {
    --primary: #7E4AF7;
    --secondary: #B17FF8;
    --dark: #391E87;
    --success: #16A34A;
    --warning: #D97706;
    --danger: #DC2626;
    --surface: #FBFAFE;
    --text: #391E87;
    --neutral: #FFFFFF;
    --border: #E5E7EB;
    --bg-light: #F9F8FC;
    --bg-hover: #F3F0FB;
    --primary-light: #EDE7FE;
    --primary-dark: #6D3FE0;
    --gradient-primary: linear-gradient(135deg, #7E4AF7 0%, #B17FF8 100%);
    --gradient-dark: linear-gradient(135deg, #391E87 0%, #6D3FE0 100%);
    --gradient-hero: linear-gradient(135deg, #EDE7FE 0%, #F9F8FC 40%, #F3F0FB 100%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    --shadow-sm: 0 1px 2px rgba(57, 30, 135, 0.05);
    --shadow-md: 0 4px 6px rgba(57, 30, 135, 0.07);
    --shadow-lg: 0 10px 15px rgba(57, 30, 135, 0.1);
    --shadow-xl: 0 20px 40px rgba(57, 30, 135, 0.12);
    --shadow-glow: 0 0 30px rgba(126, 74, 247, 0.25);
}

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

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--dark));
    border-radius: 100px;
    border: 2px solid var(--surface);
    box-shadow: 0 2px 6px rgba(126, 74, 247, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    box-shadow: 0 2px 8px rgba(126, 74, 247, 0.5);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html[dir="rtl"] body {
    font-family: 'Cairo', var(--font-primary);
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--surface);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(126, 74, 247, 0.15) 2px, transparent 2.5px),
        radial-gradient(circle at 0% 0%, rgba(126, 74, 247, 0.10) 1.5px, transparent 2px),
        radial-gradient(circle at 100% 100%, rgba(177, 127, 248, 0.10) 1.5px, transparent 2px),
        linear-gradient(135deg, rgba(126, 74, 247, 0.04) 0%, transparent 50%),
        linear-gradient(45deg, rgba(177, 127, 248, 0.04) 0%, transparent 50%);
    background-size: 25px 25px, 50px 50px, 50px 50px, 100% 100%, 100% 100%;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}


a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* Left Sidebar */
.site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: 2px 0 12px rgba(57, 30, 135, 0.04);
}

.site-sidebar .sidebar-nav {
    flex: 1;
    overflow-y: hidden;
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    justify-content: space-evenly;
}

.site-sidebar .sidebar-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    color: var(--text);
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    flex: 1;
    min-height: 56px;
    border: 1px solid transparent;
}

.site-sidebar .sidebar-home {
    min-height: 70px !important;
}

.site-sidebar .sidebar-home-logo {
    height: 40px;
    width: 60px;
    background-image: var(--logo-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    display: block;
}

.site-sidebar .sidebar-home.active .sidebar-home-logo {
    background-image: var(--logo-url-active);
}

.site-sidebar .sidebar-nav a:hover {
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 0 12px rgba(126, 74, 247, 0.3);
}

.site-sidebar .sidebar-nav a.active {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid transparent;
    flex: 2;
    min-height: 140px;
    font-size: 1.05rem;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(126, 74, 247, 0.25);
}

.sidebar-nav a svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidebar .sidebar-nav a:hover svg {
    transform: scale(1.15);
    opacity: 1;
}

.site-sidebar .sidebar-nav a.active svg {
    opacity: 1;
    transform: scale(1.2);
}

/* Slide-in animation for sidebar nav items */
.site-sidebar .sidebar-nav a {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.site-sidebar .sidebar-nav a:nth-child(1) { animation-delay: 0.05s; }
.site-sidebar .sidebar-nav a:nth-child(2) { animation-delay: 0.10s; }
.site-sidebar .sidebar-nav a:nth-child(3) { animation-delay: 0.15s; }
.site-sidebar .sidebar-nav a:nth-child(4) { animation-delay: 0.20s; }
.site-sidebar .sidebar-nav a:nth-child(5) { animation-delay: 0.25s; }
.site-sidebar .sidebar-nav a:nth-child(6) { animation-delay: 0.30s; }
.site-sidebar .sidebar-nav a:nth-child(7) { animation-delay: 0.35s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-bottom {
    padding: var(--space-3) var(--space-5);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.sidebar-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 0.85rem;
    padding: var(--space-3) 0;
}

.sidebar-lang a {
    color: var(--text);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.sidebar-lang a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.sidebar-lang a:hover {
    color: var(--primary);
}

.sidebar-btn {
    width: 100%;
    text-align: center;
}

/* Mobile sidebar toggle */
.sidebar-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface);
    cursor: pointer;
    padding: 0 var(--space-2);
    border-radius: var(--radius-md);
    transition: background 0.2s;
    position: fixed;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 101;
    box-shadow: var(--shadow-sm);
}

.sidebar-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

body.sidebar-open .sidebar-mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.sidebar-open .sidebar-mobile-toggle span:nth-child(2) {
    opacity: 0;
}
body.sidebar-open .sidebar-mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(57, 30, 135, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.logo {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    gap: var(--space-6);
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.85rem;
}

.lang-switcher a {
    color: var(--text);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.lang-switcher a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.lang-switcher span {
    color: var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s;
    background: var(--primary);
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(126, 74, 247, 0.2);
}

.btn:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 16px rgba(126, 74, 247, 0.35);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.85rem;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(126, 74, 247, 0.25);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #B91C1C;
    color: white;
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #15803D;
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #B45309;
    color: white;
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #9B6FE0;
    color: white;
}

/* Main content */
.site-main {
    flex: 1;
    margin-left: 240px;
    padding: var(--space-8) var(--space-6);
    width: calc(100% - 240px);
    position: relative;
    z-index: 1;
}

body.home-page .site-main {
    scroll-snap-type: y mandatory;
    padding: 0;
}

body.admin-body .site-main {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    width: 100%;
}

.site-main > section,
.site-main > .page-header,
.site-main > .empty-state,
.site-main > .detail-content,
.site-main > .detail-cover,
.site-main > .publication-item {
    min-height: auto;
    display: block;
}

.site-main > .grid {
    min-height: auto;
}

body.home-page .site-main > .hero-playground {
    justify-content: center;
    padding-top: 0;
}

body.home-page .site-main > section,
body.home-page .site-main > .page-header,
body.home-page .site-main > .grid,
body.home-page .site-main > .empty-state,
body.home-page .site-main > .detail-content,
body.home-page .site-main > .detail-cover,
body.home-page .site-main > .publication-item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    scroll-margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: var(--space-4);
    box-sizing: border-box;
}

.site-main > section > *,
.site-main > .page-header > *:not(a):not(.flex),
.site-main > .hero-playground > * {
    width: 100%;
    max-width: 1200px;
}

.site-main > section .grid {
    max-width: 100%;
}

/* Section spacing */
section {
    scroll-margin-top: 80px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: var(--space-20) var(--space-6);
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.hero::before {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -50px;
}

.hero::after {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -80px;
    left: -60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    opacity: 0.8;
}

.hero .btn {
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-12);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 74, 247, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    text-align: center;
    min-width: 120px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(126, 74, 247, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    opacity: 0.6;
    margin-top: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Adaptive grid-3: 1=full, 2=half, 3=thirds, 4=3 thirds + 1 full, 5=3 thirds + 2 halves */
.grid-3 > :only-child {
    grid-column: 1 / -1;
}

.grid-3:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3:has(> :nth-child(4):last-child) > :nth-child(4) {
    grid-column: 1 / -1;
}

.grid-3:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(6, 1fr);
}
.grid-3:has(> :nth-child(5):last-child) > :nth-child(-n+3) {
    grid-column: span 2;
}
.grid-3:has(> :nth-child(5):last-child) > :nth-child(n+4) {
    grid-column: span 3;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
}

/* Concept Card */
.card-concept .card-image-wrap {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(57, 30, 135, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.card-concept:hover .card-overlay {
    opacity: 1;
}

.card-tag {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.card-hover-btn {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
    white-space: nowrap;
}

.card-concept:hover .card-hover-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-hover-btn .btn {
    box-shadow: var(--shadow-glow);
}

.card-body {
    padding: var(--space-6);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.card-text {
    color: var(--text);
    font-size: 0.95rem;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-light);
    transition: transform 0.4s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Section titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-2);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(126, 74, 247, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: var(--space-4);
}

.form-row .form-group {
    flex: 1;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.table th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 700;
    color: var(--dark);
    background: var(--bg-light);
    border-bottom: 2px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover {
    background: var(--bg-hover);
}

/* Badges */
.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-success {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
}

.badge-warning {
    background: rgba(217, 119, 6, 0.12);
    color: var(--warning);
}

.badge-danger {
    background: rgba(220, 38, 38, 0.12);
    color: var(--danger);
}

.badge-neutral {
    background: var(--bg-light);
    color: var(--text);
}

/* Flash messages */
.flash {
    padding: var(--space-3) var(--space-6);
    text-align: center;
    font-weight: 600;
    margin: 0;
    animation: slideDown 0.3s ease;
}

.flash-success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
    border-bottom: 1px solid rgba(22, 163, 74, 0.2);
}

.flash-error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-12) var(--space-6) var(--space-4);
    margin-left: 240px;
    width: calc(100% - 240px);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-bg-logo {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    background: url('../img/outlinelogobiger.png') center right / contain no-repeat;
    opacity: 0.08;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

body.home-page .site-footer {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.footer-section-inner {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

.footer-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.footer-logo-big {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #B17FF8, #7E4AF7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline-big {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    line-height: 1.6;
}

.footer-contact-btn {
    margin-top: var(--space-2);
}

.footer-contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact-form .form-group {
    text-align: left;
}

.footer-contact-form .form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all 0.2s;
}

.footer-contact-form .form-control:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.footer-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact-form label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: var(--space-1);
    display: block;
}

.footer-contact-form select.form-control {
    background: rgba(255, 255, 255, 0.08);
}

.footer-contact-form select.form-control option {
    background: var(--dark);
    color: white;
}

.footer-form-row {
    display: flex;
    gap: var(--space-3);
}

.footer-form-row .form-group {
    flex: 1;
}

.footer-map {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
}

.footer-columns {
    display: flex;
    gap: var(--space-16);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    min-width: 280px;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-social {
    display: flex;
    gap: var(--space-2);
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-newsletter-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 300px;
}

.footer-newsletter-form {
    display: flex;
    gap: var(--space-2);
    width: 100%;
    max-width: 350px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all 0.2s;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: var(--space-3) var(--space-4);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.newsletter-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-header > a,
.page-header > .flex {
    flex-shrink: 0;
    width: auto;
    max-width: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 900;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    color: var(--text);
    opacity: 0.6;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Detail page */
.detail-header {
    margin-bottom: var(--space-6);
}

.detail-header h1 {
    font-size: 2.25rem;
    font-weight: 900;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.detail-header p {
    color: var(--text);
    font-size: 1.1rem;
    opacity: 0.7;
}

.detail-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    line-height: 1.8;
    box-shadow: var(--shadow-sm);
}

.detail-content h1,
.detail-content h2,
.detail-content h3 {
    color: var(--dark);
    margin: var(--space-4) 0 var(--space-2);
}

.detail-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.detail-content iframe {
    max-width: 100%;
    border: 0;
    border-radius: var(--radius-md);
}

.detail-content div[data-youtube] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.detail-content div[data-youtube] iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.detail-content p {
    margin-bottom: var(--space-3);
}

.detail-content ul,
.detail-content ol {
    margin-bottom: var(--space-3);
    padding-left: var(--space-6);
}

/* Publication item */
.publication-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
}

.publication-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.publication-meta {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.6;
    margin-bottom: var(--space-3);
}

/* FAQ accordion */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: var(--space-4) var(--space-6);
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 var(--space-6);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: var(--space-4) var(--space-6);
}

/* Coach card */
.coach-card {
    text-align: center;
    border: 2px solid var(--border);
    transition: border-color 0.3s;
}

.coach-card:hover {
    border-color: var(--primary);
}

/* Coach detail page */
.coach-detail {
    max-width: 800px;
    margin: 0 auto;
}
.coach-detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}
.coach-detail-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.coach-detail-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 3rem;
}
.coach-detail-info h2 {
    margin: 0 0 var(--space-2) 0;
}
.coach-detail-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}
.coach-detail-bio {
    line-height: 1.8;
    font-size: 1.05rem;
}

.coach-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-4);
}

.coach-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.coach-specialty {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* Auth page */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--secondary);
    filter: blur(80px);
    opacity: 0.15;
    bottom: -80px;
    left: -80px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-12);
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.auth-card h1 {
    text-align: center;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-6);
    font-weight: 900;
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.w-full { width: 100%; }

/* Section header center */
.section-header-center {
    text-align: center;
    margin-bottom: var(--space-12);
}

body.home-page .section-header-center {
    margin-bottom: var(--space-6);
}

.section-subtitle {
    color: var(--text);
    opacity: 0.6;
    font-size: 1.05rem;
    max-width: 600px;
    margin: var(--space-3) auto 0;
    line-height: 1.6;
}

/* Feature cards */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-3);
}

.feature-text {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process timeline */
.process-section {
    padding: var(--space-12) var(--space-6);
    background: var(--bg-light);
    border-radius: var(--radius-xl);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary), var(--primary-light));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    box-shadow: 0 4px 12px rgba(126, 74, 247, 0.3);
    transition: all 0.3s;
}

.process-step:hover .process-number {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.process-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-4);
    transition: all 0.3s;
}

.process-step:hover .process-content {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.process-text {
    color: var(--text);
    opacity: 0.65;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(177, 127, 248, 0.15);
    filter: blur(60px);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(126, 74, 247, 0.1);
    filter: blur(50px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--dark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* FAQ Preview */
.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

body.home-page .site-main > #faq {
    background-color: var(--bg-light);
    background-image: repeating-linear-gradient(
        30deg,
        rgba(212, 197, 249, 0.05) 0,
        rgba(212, 197, 249, 0.05) 2px,
        transparent 2px,
        transparent 12px
    );
    border-radius: var(--radius-xl);
}

.faq-preview-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all 0.3s;
}

.faq-preview-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.faq-preview-q {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-3);
    font-size: 1rem;
    line-height: 1.4;
}

.faq-preview-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-preview-a {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 40px;
}

/* ========================================
   STARTUP PLAYGROUND THEME
   ======================================== */

/* Playground section spacing */
.playground-section {
    margin-bottom: var(--space-12);
    padding: 0 var(--space-2);
}

body.home-page .playground-section {
    margin-bottom: 0;
}

.playground-bg-light {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-6);
}

/* Playground typography */
.section-title-playground {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-subtitle-playground {
    color: var(--text);
    opacity: 0.6;
    font-size: 1.05rem;
    max-width: 600px;
    margin: var(--space-3) auto 0;
    line-height: 1.6;
}

/* Playground buttons */
.btn-playful {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(126, 74, 247, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-playful::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-playful:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 74, 247, 0.45);
}

.btn-playful:hover::after {
    width: 300px;
    height: 300px;
}

.btn-outline-playful {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
    font-weight: 700;
}

.btn-outline-playful:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(126, 74, 247, 0.3);
    transform: translateY(-1px);
}

/* Hero Playground */
.hero-playground {
    text-align: center;
    padding: var(--space-6);
    background: transparent;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-playground::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: linear-gradient(135deg, #D4C5F9, #EDE7FE, #E8DEFB, #D4C5F9, #C4B5F7, #EDE7FE);
    border-radius: var(--radius-xl);
    z-index: -1;
}

body.home-page .site-main > #home {
    background-color: #F9F8FC;
    background-image: radial-gradient(circle, #D4C5F9 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.hero-shapes {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 50px;
    height: 50px;
    background: #FFE0B2;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: #C8E6C9;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: #FFCDD2;
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.shape-5 {
    width: 30px;
    height: 30px;
    background: #B2EBF2;
    top: 50%;
    left: 50%;
    animation-delay: 1.5s;
}

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

.hero-playground-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: white;
    color: var(--primary);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-md);
}

.hero-badge-icon {
    flex-shrink: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Metric bubbles strip */
.hero-metrics-strip {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-6);
    position: relative;
    z-index: 1;
}

.metric-bubble {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    min-width: 120px;
}

.metric-bubble:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.metric-bubble-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: var(--space-2);
}

.metric-bubble-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.metric-bubble-label {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.6;
    display: block;
    margin-top: var(--space-1);
}

/* Site-linked statistics */
.hero-stats-playground {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-4);
    position: relative;
    z-index: 1;
}

.hero-stats-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vh;
    height: 70vh;
    background: url('../img/outlinelogo.png') center / contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    -webkit-mask: linear-gradient(135deg,
        transparent 0%,
        black 15%,
        transparent 25%,
        black 40%,
        transparent 50%,
        black 60%,
        transparent 75%,
        black 85%,
        transparent 100%);
    mask: linear-gradient(135deg,
        transparent 0%,
        black 15%,
        transparent 25%,
        black 40%,
        transparent 50%,
        black 60%,
        transparent 75%,
        black 85%,
        transparent 100%);
    -webkit-mask-size: 600px 600px;
    mask-size: 600px 600px;
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    animation: logo-mask-move 10s linear infinite;
}

@keyframes logo-mask-move {
    0% { -webkit-mask-position: 0px 0px; mask-position: 0px 0px; }
    100% { -webkit-mask-position: 600px 600px; mask-position: 600px 600px; }
}

.stat-playground-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-8);
    min-width: 140px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

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

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

.metric-playground-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-playground-label {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.6;
    font-weight: 600;
}

/* Sticky note cards */
.sticky-card {
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6) var(--space-6);
    text-align: center;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sticky-card:hover {
    transform: rotate(-1deg) scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sticky-yellow {
    background: #FFF9C4;
}

.sticky-pink {
    background: #FCE4EC;
}

.sticky-blue {
    background: #E1F5FE;
}

.sticky-green {
    background: #E8F5E9;
}

.sticky-purple {
    background: #F3E5F5;
}

.sticky-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sticky-pin::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.sticky-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.sticky-icon {
    color: var(--dark);
}

.sticky-yellow .sticky-icon { color: #F57F17; }
.sticky-pink .sticky-icon { color: #C2185B; }
.sticky-blue .sticky-icon { color: #1565C0; }
.sticky-green .sticky-icon { color: #2E7D32; }
.sticky-purple .sticky-icon { color: #7B1FA2; }

.sticky-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-3);
}

.sticky-text {
    color: var(--text);
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cohort banner */
.cohort-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    background: white;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-8);
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}

.cohort-banner-left {
    flex: 1;
    min-width: 300px;
}

.cohort-status-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.cohort-status-upcoming {
    background: #FFF3E0;
    color: #E65100;
}

.cohort-status-ongoing {
    background: #E8F5E9;
    color: #2E7D32;
}

.cohort-status-completed {
    background: #ECEFF1;
    color: #455A64;
}

.cohort-banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-3);
}

.cohort-banner-desc {
    color: var(--text);
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.cohort-deadline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-size: 0.95rem;
}

.cohort-deadline-icon {
    display: flex;
    align-items: center;
    color: var(--primary);
}

.cohort-banner-right {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.cohort-stat {
    text-align: center;
    min-width: 80px;
}

.cohort-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.cohort-stat-label {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.6;
    display: block;
    margin-top: var(--space-1);
}

.cohort-stat-icon {
    display: flex;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

/* Process playground */
.process-playground {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.process-playground-step {
    text-align: center;
    max-width: 200px;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.process-playground-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.process-playground-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.process-playground-icon {
    display: flex;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.process-playground-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.process-playground-text {
    color: var(--text);
    opacity: 0.65;
    font-size: 0.85rem;
    line-height: 1.5;
}

.process-playground-arrow {
    font-size: 1.5rem;
    color: var(--secondary);
    align-self: center;
    margin-top: var(--space-6);
    font-weight: 800;
}

/* Why Us & How It Works side-by-side */
.why-how-grid {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    flex-wrap: wrap;
}

.why-how-col {
    flex: 1;
    min-width: 400px;
}

.why-how-col .section-header-center {
    margin-bottom: var(--space-6);
}

.process-playground-vertical {
    flex-direction: column;
    gap: var(--space-4);
    align-items: stretch;
}

.process-playground-vertical .process-playground-step {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    max-width: 100%;
    text-align: left;
}

.process-playground-vertical .process-playground-num {
    margin: 0;
    flex-shrink: 0;
}

.process-playground-vertical .process-playground-icon {
    margin: 0;
    flex-shrink: 0;
}

.process-playground-vertical .process-playground-title {
    margin: 0 0 2px;
}

.process-playground-vertical .process-playground-text {
    margin: 0;
}

@media (max-width: 900px) {
    .why-how-col {
        min-width: 100%;
    }
}

/* Success story cards */
.story-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

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

.story-logo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--bg-light);
}

.story-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
}

.story-body {
    padding: var(--space-6);
}

.story-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.story-founder {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.6;
    margin-bottom: var(--space-3);
}

.story-desc {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.story-footer {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-3);
}

.story-funding {
    background: #E8F5E9;
    color: #2E7D32;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.story-stage {
    background: var(--primary-light);
    color: var(--primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.story-cohort-tag {
    display: inline-block;
    background: #FFF3E0;
    color: #E65100;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.story-website {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.story-website:hover {
    opacity: 0.7;
}

/* CTA playful */
.cta-playful {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-playful-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: white;
    animation: float 8s ease-in-out infinite;
}

.cta-shape-1 {
    width: 120px;
    height: 120px;
    top: -20px;
    left: 10%;
}

.cta-shape-2 {
    width: 80px;
    height: 80px;
    bottom: -10px;
    right: 15%;
    animation-delay: 2s;
}

.cta-shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

.cta-playful-content {
    position: relative;
    z-index: 1;
}

.cta-icon-wrap {
    display: flex;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-4);
}

.cta-playful-title {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.cta-playful-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

/* Publications two-column */
.pub-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.pub-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.pub-col-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pub-view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pub-view-all:hover {
    opacity: 0.7;
}

.pub-col .card {
    margin: 0;
}

.pub-cat {
    background: var(--primary-light);
    color: var(--primary);
    padding: 1px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .pub-two-col {
        grid-template-columns: 1fr;
    }
}

/* Partners & Sponsors */
.ps-block {
    margin-bottom: var(--space-10);
    text-align: center;
}

.ps-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.ps-track {
    overflow: hidden;
    display: flex;
    width: 100%;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ps-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-4) var(--space-8);
    flex-shrink: 0;
}

.ps-logo {
    height: 150px;
    width: 250px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.ps-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.ps-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.ps-logo-link:hover .ps-logo {
    opacity: 1;
    transform: scale(1.1);
}

.ps-track-left .ps-logos {
    animation: ps-scroll-left 30s linear infinite;
}

.ps-track-right .ps-logos {
    animation: ps-scroll-right 30s linear infinite;
}

@keyframes ps-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes ps-scroll-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

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

html[dir="rtl"] .ps-track-left .ps-logos {
    animation: ps-scroll-right 30s linear infinite;
}

html[dir="rtl"] .ps-track-right .ps-logos {
    animation: ps-scroll-left 30s linear infinite;
}

/* Partners & Sponsors CTA */
.ps-cta-group {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-16);
}

.ps-cta-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    max-width: 450px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s, transform 0.3s;
}

.ps-cta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.ps-cta-text {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.ps-cta-btn {
    width: 100%;
}

.ps-cta-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
}

.ps-cta-detail.ps-cta-expanded {
    max-height: 300px;
    padding-top: var(--space-5);
    margin-top: var(--space-5);
    border-top: 1px solid var(--border);
}

.ps-cta-detail p {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.cta-playful-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-playful-actions .btn-playful {
    background: white;
    color: var(--primary);
}

.cta-playful-actions .btn-playful:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.cta-playful-actions .btn-outline-playful {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-playful-actions .btn-outline-playful:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

/* Contact map */
.contact-map-section {
    max-width: 900px;
    margin: var(--space-12) auto 0;
    padding: 0 var(--space-2);
}

.contact-map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Publication card link */
.pub-card-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

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

.pub-card-link .card-title {
    transition: color 0.3s;
}

.pub-card-link:hover .card-title {
    color: var(--primary);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.preloader-logo {
    height: 70px;
    width: auto;
    animation: preloader-pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

.bilingual-wrap {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}
.bilingual-wrap > .bilingual-main,
.bilingual-wrap > .bilingual-sec {
    flex: 1;
    min-width: 0;
}
.bilingual-sec {
    color: var(--text);
    opacity: 0.85;
}
.planning-day-bar {
    background: var(--primary);
    color: #fff;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    margin: var(--space-5) 0 var(--space-3);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
}
.planning-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}
.planning-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    align-items: flex-start;
}
.planning-item-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    min-width: 60px;
    padding-top: 2px;
}
.planning-time-start {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}
.planning-time-sep {
    font-size: 0.7rem;
    opacity: 0.5;
}
.planning-time-end {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.6;
}
.planning-item-body {
    flex: 1;
    min-width: 0;
}
.planning-item-body strong {
    display: block;
    margin-bottom: 2px;
}
.planning-item-body p {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.7;
    margin: 0;
}
@media (max-width: 768px) {
    .event-detail-grid {
        grid-template-columns: 1fr !important;
    }
    .planning-item {
        flex-direction: column;
        gap: var(--space-1);
    }
    .planning-item-time {
        flex-direction: row;
        min-width: 0;
    }
}
@media (max-width: 768px) {
    .bilingual-wrap {
        flex-direction: column;
        gap: var(--space-2);
    }
}

