/* Reset i podstawowe style */

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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --bg-primary: #14120b;
    --bg-secondary: #14120b;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-teritary: #111111;
    --text-muted: #71717a;
    --border-color: #1a1a1a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

body {
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 80% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 70%),
        radial-gradient(ellipse 1000px 500px at 40% 40%, rgba(6, 182, 212, 0.015) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nawigacja */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 20px;
}

.navbar.scrolled {
    background: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 600px 300px at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 400px 200px at 10% 90%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    z-index: 1;
    animation: heroGradient 20s ease-in-out infinite;
}

@keyframes heroGradient {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(1deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 50px auto 100px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;

    @media all and (min-width: 960px) {
        margin: 250px auto 250px;
        max-width: 1200px;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.8) 50%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Banner */
.hero-banner {
    max-width: 1600px;
    width: 1600px;
    margin: 0 auto 40px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(139, 92, 246, 0.06) 25%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(236, 72, 153, 0.04) 75%,
        rgba(99, 102, 241, 0.08) 100%
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    padding: 120px 60px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: visible;
    left: 50%;
    transform: translateX(-50%);
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 600px 300px at 20% 30%, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%),
        radial-gradient(ellipse 500px 250px at 80% 70%, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 75%),
        radial-gradient(ellipse 400px 200px at 50% 50%, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.05) 45%, transparent 70%);
    z-index: 1;
    filter: blur(1px);
    animation: bannerGlow 12s ease-in-out infinite;
}

@keyframes bannerGlow {
    0%,
    100% {
        transform: translateX(-2%) translateY(-1%);
        opacity: 0.9;
    }

    33% {
        transform: translateX(1%) translateY(1%);
        opacity: 1;
    }

    66% {
        transform: translateX(-1%) translateY(-0.5%);
        opacity: 0.95;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding-right: 380px;
}

.banner-text {
    flex: 1;
    text-align: left;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    @media all and (min-width: 960px) {
        font-size: 2.8rem;
    }
}

.banner-slug {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 600px;
    margin: 0;

    @media all and (min-width: 960px) {
        font-size: 1rem;
        max-width: 800px;
        text-align: justify;
    }
}

.banner-image {
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    right: 60px;
    width: 320px;
    height: 0;
    z-index: 2;
}

.banner-image img {
    height: 540px;
    object-fit: cover;
    border-radius: 16px;
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    box-shadow: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    color: var(--text-teritary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    filter: brightness(0.88);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

/* Partnerzy */
.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 120px auto 120px;
    max-width: 1100px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.partner-item {
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: grayscale(100%) brightness(0.8);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: translateY(-5px);
}

.partner-item img {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Sekcja z obrazkiem */
.image-section {
    padding-bottom: 80px;
}

.image-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.image-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    position: relative;
}

.image-container img.bg-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container img.overlay-image {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
}

/* Sekcja CTA */
.action-section {
    padding: 100px 0;
    position: relative;
}

.action-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.action-text {
    flex: 1;
    text-align: left;
}

.action-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

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

.action-button {
    flex-shrink: 0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* Sekcja z tekstem i obrazkiem */
.text-image-section {
    padding: 120px 0;
    margin: 80px 0;
    position: relative;
    background-image: url("/media/student-5.png");
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.text-image-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.text-side {
    flex: 0 0 60%;
    max-width: 600px;
    text-align: left;
    padding-right: 3rem;
}

.main-text {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.sub-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.text-link:hover {
    gap: 0.7rem;
    opacity: 0.8;
}

.image-side {
    display: none;
}

/* Sekcja full width */
.fullwidth-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.fullwidth-item {
    width: 100%;
    padding: 80px 0;
    position: relative;
    transition: all 0.5s ease;
    border-bottom: 1px solid var(--border-color);
}

.fullwidth-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.fullwidth-item[data-bg]:hover::before {
    opacity: 0.15;
}

.fullwidth-item:hover::before {
    opacity: 0.15;
}

.fullwidth-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.fullwidth-text {
    text-align: left;
}

.fullwidth-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.fullwidth-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.fullwidth-button {
    flex-shrink: 0;
}

.features-header {
    text-align: center;
    margin-bottom: 7.5rem;
}

.features-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.features-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-features-section {
    margin-top: 100px;
}

.feature {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 2.25rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.25);
}

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

.feature > * {
    position: relative;
    z-index: 2;
}

.feature-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}

.feature-icon {
    position: absolute;
    bottom: -8px;
    right: 1rem;
    width: 90px;
    height: 90px;
    opacity: 0.07;
    color: var(--text-primary);
    pointer-events: none;
    user-select: none;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    font-weight: 600;
}

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

/* Sekcje */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Jak to dzia�a */
.how-it-works {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 600px 300px at 30% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 500px 250px at 70% 30%, rgba(6, 182, 212, 0.025) 0%, transparent 60%);
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.step:nth-child(1) {
    animation-delay: 0.2s;
}

.step:nth-child(2) {
    animation-delay: 0.4s;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number::before {
    opacity: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Statystyki */
.stats-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 700px 300px at 20% 80%, rgba(99, 102, 241, 0.025) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 80% 20%, rgba(6, 182, 212, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) .stat-number {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) .stat-number {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) .stat-number {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) .stat-number {
    animation-delay: 0.4s;
}

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

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

/* Dlaczego UniFinder */
.why-unifinder {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-unifinder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 20% 80%, rgba(139, 92, 246, 0.025) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 80% 20%, rgba(99, 102, 241, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.why-unifinder .container {
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.5s;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%),
        radial-gradient(ellipse 200px 100px at 50% 50%, rgba(6, 182, 212, 0.01) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.benefit-card > * {
    position: relative;
    z-index: 2;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 800px 400px at 30% 70%, rgba(139, 92, 246, 0.025) 0%, transparent 60%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Lista uczelni */
.universities-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.universities-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 20% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 80% 20%, rgba(99, 102, 241, 0.025) 0%, transparent 60%);
    z-index: 1;
}

.universities-section .container {
    position: relative;
    z-index: 2;
}

.universities-hero {
    text-align: center;
    padding: 60px 0 56px;
}

.universities-hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 1rem 0 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.universities-hero-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 0 2rem;
}

.universities-search-wrap {
    max-width: 580px;
    margin: 0 auto 2rem;
}

.universities-search {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 3;
}

.universities-search-input {
    width: 100%;
    padding: 18px 24px 18px 54px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.universities-search-input::placeholder {
    color: var(--text-muted);
}

.universities-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.universities-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.stat-divider {
    color: var(--text-muted);
}

.seo-content {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.seo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.seo-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.seo-feature {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.seo-feature:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

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

.seo-feature h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.seo-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.filters::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%),
        radial-gradient(ellipse 300px 150px at 50% 50%, rgba(6, 182, 212, 0.01) 0%, transparent 70%);
    z-index: 1;
}

.filters > * {
    position: relative;
    z-index: 2;
}

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

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.universities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.university-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.university-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.025) 0%, rgba(139, 92, 246, 0.025) 100%),
        radial-gradient(ellipse 250px 125px at 50% 50%, rgba(6, 182, 212, 0.015) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.university-card > * {
    position: relative;
    z-index: 2;
}

.university-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.university-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.university-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.university-rating::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    z-index: 1;
}

.university-rating > * {
    position: relative;
    z-index: 2;
}

.university-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.university-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.university-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quiz */
.quiz-start-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quiz-start-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 700px 350px at 30% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 70% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.quiz-start-inner {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 6rem 1rem;
    position: relative;
    z-index: 1;
}

.quiz-start-inner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 60%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-start-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.quiz-start-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.quiz-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.quiz-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quiz-stat-divider {
    color: var(--border-color);
    font-size: 1.2rem;
    padding-bottom: 0.9rem;
}

/* Questions */
.quiz-questions-section {
    padding-bottom: 100px;
}

.quiz-body {
    min-height: calc(100vh - 70px - 100px);
    display: flex;
    align-items: center;
    padding: 9rem 0 3rem;
}

.quiz-body .container {
    width: 100%;
}

.quiz-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Progress bar — floating pill */
.quiz-progress-header {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgb(22 20 16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.6rem 1.5rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.08);
    min-width: 360px;
    max-width: 840px;
    width: max-content;
}

.quiz-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    gap: 1.5rem;
}

.quiz-progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.quiz-progress-of {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.quiz-progress-header {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-progress-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.quiz-progress-track {
    height: 3px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 60%, var(--secondary-color) 100%);
    border-radius: 3px;
    width: 4%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-container {
    margin-bottom: 2rem;
}

.question-type {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.question-type.type-2 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.question-type.type-3,
.question-type.type-4,
.question-type.type-5,
.question-type.type-6 {
    background: linear-gradient(135deg, #059669, #10b981);
}

.question-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.answer-option {
    padding: 1.75rem 2rem;
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.answer-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.answer-option:hover {
    border-color: var(--primary-color);
    background: rgba(17, 17, 17, 1);
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.answer-option:hover::before {
    transform: scaleY(1);
}

.answer-option.selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.answer-option.selected::before {
    transform: scaleY(1);
}

.answer-option > * {
    position: relative;
    z-index: 2;
}

/* Video thumbnail — small side tile */
.question-text-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.question-text-row .question-text {
    flex: 1;
    margin-bottom: 0;
}

#questionVideoContainer {
    flex-shrink: 0;
}

.question-video-thumb {
    position: relative;
    width: 148px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.question-video-thumb:hover {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.question-video-thumb-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.question-video-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.question-video-thumb:hover .question-video-thumb-img img {
    transform: scale(1.05);
}

.question-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    transition: background 0.2s ease;
}

.question-video-thumb:hover .question-video-play {
    background: rgba(99, 102, 241, 0.65);
}

/* Video popup */
.video-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-popup {
    position: relative;
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.video-popup-header {
    display: none;
}

.video-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.video-popup-close:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.1);
}

.video-popup-content {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-popup-content iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.quiz-navigation {
    display: flex;
    justify-content: center;
}

.quiz-navigation .btn {
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    min-width: 160px;
    justify-content: center;
}

.quiz-navigation .btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 768px) {
    .quiz-start-inner h1 {
        font-size: 2.4rem;
    }

    .question-container {
        padding: 2rem 1.5rem;
    }

    .question-text {
        font-size: 1.4rem;
    }

    .quiz-navigation {
        justify-content: stretch;
    }

    .quiz-navigation .btn {
        width: 100%;
    }
}

/* Kontakt */
.privacy-page {
    padding: 80px 0;
}

.privacy-header {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.privacy-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.privacy-content {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.privacy-section p,
.privacy-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.privacy-section ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.privacy-section li {
    margin-bottom: 0.35rem;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* Contact — split panel */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: calc(100vh - 70px);
}

/* Left panel */
.contact-panel-left {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-panel-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 500px 400px at 10% 90%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 90% 10%, rgba(139, 92, 246, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.contact-panel-left-inner {
    position: relative;
    z-index: 1;
    padding: 80px 3rem 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-split-heading {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 60%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-split-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 3rem;
}

.contact-split-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.contact-split-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
}

.contact-split-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background 0.2s ease;
}

a.contact-split-item:hover .contact-split-item-icon {
    background: rgba(99, 102, 241, 0.2);
}

.contact-split-item-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-split-item-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

a.contact-split-item:hover .contact-split-item-value {
    color: var(--primary-color);
}

.contact-split-ghost {
    position: absolute;
    bottom: -0.1em;
    right: -0.05em;
    font-size: 22rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07), rgba(139, 92, 246, 0.07));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}

/* Right panel */
.contact-panel-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 2rem;
}

.contact-panel-right-inner {
    width: 100%;
    max-width: 540px;
}

.contact-form-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form-subheading {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select option {
    background: var(--bg-secondary);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 0.15rem;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-panel-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .contact-split-heading {
        font-size: 2.2rem;
    }

    .contact-split-ghost {
        font-size: 14rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 30% 70%, rgba(99, 102, 241, 0.025) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 70% 30%, rgba(6, 182, 212, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.testimonials-header .section-title {
    margin-top: 1rem;
    margin-bottom: 0;
}

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

.testimonial-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    border-radius: 20px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}
.testimonial-card:nth-child(2) {
    animation-delay: 0.25s;
}
.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-left-color: var(--primary-color);
}

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    position: absolute;
    top: 0.75rem;
    right: 1.5rem;
    font-size: 7rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0 0 1.75rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .author-avatar img {
    border-color: var(--primary-color);
}

.author-info h4 {
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background: transparent;
    padding: 3rem 0 1rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    align-items: start;
}

/* Kolumna 1 - Email, Social, Copyright */
.footer-col-1 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-email a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-email a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
}

.footer-copyright {
    margin-top: auto;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Kolumny 2-4 - Linki */
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

/* Kolumna 5 - Ustawienia */
.footer-col-5 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.language-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-selector label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.language-dropdown {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-dropdown:hover {
    border-color: var(--primary-color);
}

.language-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.color-mode-switch {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.switch {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: flex-start;
}

.switch .slider {
    order: 1;
}

.switch .switch-label {
    order: 2;
    margin-left: 0.75rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.switch input:checked + .slider {
    background: var(--primary-color);
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
    background: white;
}

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

.certification-badge {
    margin-top: auto;
}

.soc2-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: var(--success-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.soc2-badge svg {
    width: 16px;
    height: 16px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsywno�� */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        width: calc(100% - 40px);
        margin: 0 20px;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        backdrop-filter: blur(25px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .hero-banner {
        width: calc(100% + 30px);
        margin: 0 -15px 30px;
        padding: 100px 45px;
        left: 0;
        transform: none;
    }

    .banner-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-right: 0;
    }

    .banner-text {
        text-align: center;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-image {
        width: 260px;
    }

    .banner-image {
        position: static;
        width: auto;
    }

    .banner-image img {
        position: static;
        width: 260px;
        height: 360px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .partners-list {
        gap: 2rem;
        margin: 90px auto 90px;
    }

    .partner-item img {
        height: 50px;
        max-width: 120px;
    }

    .image-section {
        padding: 60px 0;
    }

    .image-title {
        font-size: 2rem;
    }

    .image-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .action-section {
        padding: 80px 0;
    }

    .action-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .action-text {
        text-align: center;
    }

    .action-title {
        font-size: 2.2rem;
    }

    .text-image-section {
        padding: 80px 0;
        background-position: center right;
    }

    .text-image-content {
        min-height: 300px;
        text-align: center;
    }

    .text-side {
        flex: 1;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .main-text {
        font-size: 2.5rem;
    }

    .fullwidth-item {
        padding: 70px 0;
    }

    .fullwidth-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .fullwidth-text {
        text-align: center;
    }

    .fullwidth-title {
        font-size: 2rem;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quiz-container {
        padding: 2rem;
    }

    .university-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .university-details {
        grid-template-columns: 1fr;
    }

    .quiz-navigation {
        flex-direction: column;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .quote-icon {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

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

    .footer-col-1 {
        grid-column: 1 / -1;
        text-align: center;
        gap: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 15px;
    }

    .nav-container {
        padding: 0 20px;
        border-radius: 16px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .partners-list {
        gap: 1.5rem;
        margin: 70px auto 70px;
    }

    .partner-item img {
        height: 40px;
        max-width: 100px;
    }

    .image-section {
        padding: 40px 0;
    }

    .image-title {
        font-size: 1.8rem;
    }

    .image-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .action-section {
        padding: 60px 0;
    }

    .action-title {
        font-size: 2rem;
    }

    .action-description {
        font-size: 1.1rem;
    }

    .text-image-section {
        padding: 60px 0;
        background-position: center right;
    }

    .main-text {
        font-size: 2rem;
    }

    .sub-text {
        font-size: 1.1rem;
    }

    .fullwidth-item {
        padding: 60px 0;
    }

    .fullwidth-title {
        font-size: 1.8rem;
    }

    .fullwidth-subtitle {
        font-size: 1rem;
    }

    .hero-banner {
        width: calc(100% + 20px);
        margin: 0 -10px;
        padding: 90px 35px;
        left: 0;
        transform: none;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-slug {
        font-size: 1rem;
    }

    .banner-image {
        width: 200px;
    }

    .banner-image img {
        width: 200px;
        height: 300px;
        bottom: 0;
    }

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

    .quiz-container {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 2rem;
    }

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

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .quote-icon {
        font-size: 2rem;
    }

    .author-avatar img {
        width: 50px;
        height: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col-1 {
        order: -1;
        text-align: center;
    }

    .footer-col-5 {
        text-align: center;
    }

    .language-selector,
    .color-mode-switch {
        align-items: center;
    }

    .switch {
        justify-content: center;
    }
}

/* Modal styles */
.university-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Notification styles */
.comparison-notification,
.download-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10001;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.notification-content span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

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

/* ===== NEW MINIMALIST RESULTS DESIGN ===== */

/* ==========================================
   RESULTS PAGE
   ========================================== */

.results-page {
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Hero */
.results-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.results-hero .features-badge {
    margin-bottom: 1.5rem;
}

.results-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Body */
.results-body {
    padding-bottom: 2rem;
}

.results-block {
    margin-bottom: 5rem;
}

.results-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.results-section-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   RECOMMENDATIONS — 2-col grid, #1 full-width
   ═══════════════════════════════════════════ */
.recommendations-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
    margin-bottom: 1.5rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.recommendation-item:hover::before {
    opacity: 1;
}

/* #1 hero card */
.recommendation-item.primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07), rgba(139, 92, 246, 0.03));
    border-color: rgba(99, 102, 241, 0.22);
    padding: 2rem 2.5rem;
    gap: 1.75rem;
    align-items: center;
}

.recommendation-item.primary::before {
    opacity: 1;
}

.recommendation-item.primary .recommendation-header h3 {
    font-size: 1.4rem;
}

/* Score on #1 card — large gradient number, no ring */
.recommendation-item.primary .recommendation-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 0.5rem;
    flex-shrink: 0;
    align-self: center;
}

.recommendation-item.primary .score-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recommendation-item.primary .score-unit {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* Non-primary: no description, subtle score */
.recommendation-item:not(.primary) .recommendation-description {
    display: none;
}

.recommendation-item:not(.primary) .score-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.recommendation-item:not(.primary) .score-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Rank badge */
.recommendation-rank {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.recommendation-item.primary .recommendation-rank {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
}

/* University title */
.university-title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.recommendation-logo {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.logo-placeholder.small {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.logo-text {
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.recommendation-item:hover .logo-placeholder {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.recommendation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.recommendation-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.recommendation-score {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    flex-shrink: 0;
}

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

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

.recommendation-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.meta-item {
    font-weight: 400;
}
.meta-divider {
    color: var(--text-muted);
}

.recommendation-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    font-weight: 300;
}

.recommendation-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.action-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.action-btn.primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.action-btn.primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Other results */
.other-results {
    margin-top: 0.25rem;
}

.other-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.other-results-header h3 {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
}

.other-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.other-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.other-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.other-rank {
    width: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    flex-shrink: 0;
}

.other-logo {
    flex-shrink: 0;
}

.other-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.other-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.other-score {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SKILL IQ — radar full-width + bar chart
   ═══════════════════════════════════════════ */

/* Radar: centered, full-section-width */
/* ── Skill section: radar 3/4 + list 1/4 ─────── */
.skill-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.skill-radar-wrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0.75rem 1rem;
}

.radar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.radar-pulse {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Skill list — single column, scrollable, height synced by JS */
.skill-iq-grid {
    padding-right: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

.skill-iq-grid::-webkit-scrollbar {
    width: 4px;
}
.skill-iq-grid::-webkit-scrollbar-track {
    background: transparent;
}
.skill-iq-grid::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

/* ── Skill IQ panel ────────────────────────────── */
.skill-iq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 2×2 score cards */
.skill-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.8rem 0.6rem 0.7rem;
    text-align: center;
    cursor: default;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.2s ease;
}

.skill-card:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-card-score {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-card-name {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    word-break: break-word;
}

/* Plain list for items 5+ */
.skill-rest {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.skill-rest-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.3rem 0.1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.32);
    transition: color 0.15s ease;
}

.skill-rest-item:hover {
    color: rgba(255, 255, 255, 0.6);
}

.skill-rest-item span:last-child {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    padding-left: 0.5rem;
    flex-shrink: 0;
}

/* CTA */
.results-cta {
    padding: 1rem 0 5rem;
}

.results-cta .container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 860px) {
    .recommendations-list {
        grid-template-columns: 1fr;
    }

    .recommendation-item.primary {
        grid-column: 1;
    }

    .skill-layout {
        grid-template-columns: 1fr;
    }

    .skill-iq-grid {
        max-height: none !important;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .results-hero-title {
        font-size: 2.5rem;
    }

    .recommendation-item.primary {
        padding: 1.5rem;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .recommendation-item.primary .score-value {
        font-size: 3rem;
    }

    .recommendation-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .other-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .results-cta .container {
        flex-direction: column;
        align-items: center;
    }

    .results-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .results-hero-title {
        font-size: 2rem;
    }

    .results-hero {
        padding: 4rem 0 2.5rem;
    }

    .recommendation-item {
        padding: 1.125rem;
    }
}

.header-logo {
    max-width: 200px;
}

/* Articles */
.hidden {
    display: none !important;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.articles-page {
    padding-top: 140px;
}

.articles-section {
    padding: 60px 0 120px;
}

.articles-header {
    margin-bottom: 3.5rem;
}

.articles-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.25rem 0 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.articles-hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.articles-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.articles-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    transition: all 0.2s ease;
    cursor: default;
}

.article-tag:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

.articles-eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.articles-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.articles-loading,
.articles-error,
.articles-empty {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.articles-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 1.2s infinite ease-in-out;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

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

.articles-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

/* --- Magazine layout --- */

/* Featured card (1st) – left column, spans 2 rows */
.article-card:first-child {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.article-card:first-child .article-card-media {
    flex: 1;
    min-height: 280px;
}

.article-card:first-child .article-card-content h3 {
    font-size: 1.6rem;
}

/* Side cards (2nd & 3rd) – right column, horizontal layout */
.article-card:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1;
    flex-direction: row;
}

.article-card:nth-child(3) {
    grid-column: 4 / 7;
    grid-row: 2;
    flex-direction: row;
}

.article-card:nth-child(2) .article-card-media,
.article-card:nth-child(3) .article-card-media {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    border-radius: 20px 0 0 20px;
}

.article-card:nth-child(2) .article-card-content h3,
.article-card:nth-child(3) .article-card-content h3 {
    font-size: 1rem;
}

/* Remaining cards – 3 per row */
.article-card:nth-child(n + 4) {
    grid-column: span 2;
}

/* --- Base card styles --- */

.article-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--primary-color);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.article-card-media {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
}

.article-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.article-card-content h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.article-card-content p {
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.article-page {
    padding-top: 100px;
}

/* Centered editorial header */
.article-header {
    padding: 60px 20px 48px;
    text-align: center;
}

.article-header-inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-back-link {
    text-decoration: none;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    transition: color 0.2s ease;
}

.article-back-link:hover {
    color: var(--text-primary);
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.25rem 0 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.18;
}

.article-meta {
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Full-width cover image */
.article-cover {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Narrow reading column */
.article-content-section {
    padding-bottom: 120px;
}

.article-reading-column {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-highlight {
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--primary-color);
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0 12px 12px 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2,
.article-body h3 {
    margin: 2rem 0 1rem;
}

.article-body img {
    max-width: 100%;
    border-radius: 16px;
}

.article-loading-state {
    margin: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.article-error {
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.articles-cta {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.articles-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.articles-cta-content {
    flex: 1;
}

.articles-cta-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 1rem 0 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.articles-cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.articles-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .articles-hero h1 {
        font-size: 2.2rem;
    }

    .article-card {
        min-height: auto;
    }

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

    .article-card:first-child,
    .article-card:nth-child(2),
    .article-card:nth-child(3),
    .article-card:nth-child(n + 4) {
        grid-column: span 1;
        grid-row: auto;
        flex-direction: column;
    }

    .article-card:nth-child(2) .article-card-media,
    .article-card:nth-child(3) .article-card-media {
        width: 100%;
        height: 160px;
        border-radius: 20px 20px 0 0;
    }

    .article-card:first-child .article-card-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .articles-list {
        grid-template-columns: 1fr;
    }

    .article-card:first-child,
    .article-card:nth-child(n + 4) {
        grid-column: span 1;
    }
}
