/* ============================================
   GRODKOWSKA AKADEMIA SPORTU - 2026 REDESIGN
   Design System: Jasny / Energetyczny
   ============================================ */

/* ============================================
   1. CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Colors - Evolved palette */
    --color-primary: #e83e8c;
    --color-primary-dark: #d63384;
    --color-primary-light: #f06ca5;
    --color-secondary: #f97316;
    --color-accent: #6366f1;
    --color-dark: #0f172a;
    --color-dark-lighter: #1e293b;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-lighter: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-warm: #fff7ed;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e83e8c 0%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
    --gradient-card: linear-gradient(135deg, rgba(232, 62, 140, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(232, 62, 140, 0.4) 0%, rgba(249, 115, 22, 0.4) 100%);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    --header-height: 80px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(232, 62, 140, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Reveal Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   4. SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ============================================
   5. HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    height: 70px;
}

.nav {
    height: 100%;
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.nav__logo img {
    height: 48px;
    width: auto;
    transition: height var(--transition-base);
}

.header.scrolled .nav__logo img {
    height: 40px;
}

.nav__brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    transition: color var(--transition-base);
}

.nav__brand--accent {
    color: var(--color-primary-light);
}

.header.scrolled .nav__brand {
    color: var(--color-dark);
}

.header.scrolled .nav__brand--accent {
    color: var(--color-primary);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    position: relative;
    transition: all var(--transition-fast);
}

.header.scrolled .nav__link {
    color: var(--color-text-light);
}

.nav__link:hover,
.nav__link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
    color: var(--color-primary);
    background: rgba(232, 62, 140, 0.08);
}

.nav__link--cta {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    padding: 10px 24px;
    font-weight: 600;
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    gap: 5px;
    z-index: 10;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all var(--transition-base);
    border-radius: 2px;
}

.header.scrolled .hamburger__line {
    background: var(--color-dark);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 0 60px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.hero__shape--1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -10%;
    right: -5%;
    animation: float-1 15s ease-in-out infinite;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -10%;
    left: -5%;
    animation: float-2 18s ease-in-out infinite;
}

.hero__shape--3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    top: 40%;
    left: 30%;
    animation: float-3 20s ease-in-out infinite;
}

.hero__shape--4 {
    width: 200px;
    height: 200px;
    background: var(--color-primary-light);
    top: 20%;
    right: 20%;
    animation: float-4 12s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(1.1); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 62, 140, 0.15);
    border: 1px solid rgba(232, 62, 140, 0.3);
    color: var(--color-primary-light);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__badge i {
    color: #fbbf24;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__title--rotating {
    display: block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

.hero__word {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero__word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__logo-showcase {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse-logo 4s ease-in-out infinite;
}

.hero__logo-showcase::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: pulse-ring 4s ease-in-out infinite 0.5s;
}

.hero__logo-showcase::after {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: pulse-ring 4s ease-in-out infinite 1s;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(232, 62, 140, 0.1); }
    50% { transform: scale(1.03); box-shadow: 0 0 80px rgba(232, 62, 140, 0.2); }
}

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

.hero__logo-img {
    width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__scroll-arrow {
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    padding: 16px 34px;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 62, 140, 0.35);
}

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

.btn--glow {
    animation: btn-glow 3s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(232, 62, 140, 0.2); }
    50% { box-shadow: 0 4px 40px rgba(232, 62, 140, 0.4); }
}

.btn--glow:hover {
    animation: none;
    box-shadow: 0 8px 30px rgba(232, 62, 140, 0.4);
}

.btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn--facebook {
    background: #1877f2;
    color: #ffffff;
    border: none;
    padding: 16px 34px;
}

.btn--facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.3);
}

.btn--large {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* ============================================
   8. SECTION HEADERS
   ============================================ */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header__tag {
    display: inline-block;
    background: rgba(232, 62, 140, 0.08);
    color: var(--color-primary);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header__tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header__title--light {
    color: #ffffff;
}

.section-header__subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header__subtitle--light {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   9. STATS SECTION
   ============================================ */
.stats {
    background: var(--color-bg);
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.stat {
    padding: 40px 24px;
    text-align: center;
    position: relative;
    transition: background var(--transition-base);
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.stat:hover {
    background: var(--gradient-card);
}

.stat__icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.stat__value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__suffix {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat__label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ============================================
   10. FEATURES / O NAS
   ============================================ */
.features {
    background: var(--color-bg-alt);
    padding-top: 120px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

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

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
}

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

.feature-card--large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 24px;
    align-items: center;
    padding: 40px;
    background: var(--gradient-card);
    border-color: rgba(232, 62, 140, 0.1);
}

.feature-card--large .feature-card__icon {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    margin-bottom: 0;
}

.feature-card--large .feature-card__title {
    margin-bottom: 8px;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(232, 62, 140, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.feature-card__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   11. NEWS / AKTUALNOŚCI
   ============================================ */
.news {
    background: var(--color-bg);
}

.news__loading {
    text-align: center;
    padding: 40px;
    color: var(--color-text-light);
}

.spinner {
    border: 3px solid rgba(232, 62, 140, 0.1);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news__error {
    text-align: center;
    padding: 40px;
    color: var(--color-text-lighter);
}

.news__error i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.news-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-light);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary-light);
}

.news-card__image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__date {
    font-size: 0.85rem;
    color: var(--color-text-lighter);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.news-card__date i {
    color: var(--color-primary);
}

.news-card__text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-size: 0.95rem;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.news-card__link:hover {
    color: var(--color-primary-dark);
    gap: 10px;
}

.news-card__placeholder {
    width: 100%;
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.news__cta {
    text-align: center;
}

/* ============================================
   12. GROUPS / GRUPY
   ============================================ */
.groups {
    background: var(--color-bg-alt);
}

.groups__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.group-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.group-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.group-card:hover .group-card__accent {
    transform: scaleX(1);
}

.group-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
}

.group-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(232, 62, 140, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 18px;
    transition: all var(--transition-base);
}

.group-card:hover .group-card__icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
}

.group-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
    flex-wrap: wrap;
}

.group-card__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
}

.group-card__age {
    display: inline-block;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.group-card__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.group-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.group-card__meta span {
    font-size: 0.85rem;
    color: var(--color-text-lighter);
    display: flex;
    align-items: center;
    gap: 6px;
}

.group-card__meta i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.groups__cta {
    text-align: center;
}

.groups__cta-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* ============================================
   13. SIGNUP / ZAPISY
   ============================================ */
.signup {
    background: var(--color-bg);
    overflow: hidden;
}

.signup__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.step__connector {
    position: absolute;
    top: 30px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.step__connector::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-light);
}

.step__number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(232, 62, 140, 0.25);
}

.step__icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin: 16px 0;
}

.step__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.step__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.signup__cta {
    text-align: center;
}

/* ============================================
   14. FAQ
   ============================================ */
.faq {
    background: var(--color-bg-alt);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.faq-item:has(.faq-item__question.active) {
    border-color: var(--color-primary-light);
    box-shadow: 0 4px 20px rgba(232, 62, 140, 0.08);
}

.faq-item__question {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-dark);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-primary);
}

.faq-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(232, 62, 140, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
    color: var(--color-primary);
    font-size: 0.8rem;
}

.faq-item__question.active .faq-item__icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-item__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);
}

.faq-item__answer.active {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-item__answer p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   15. CONTACT
   ============================================ */
.contact {
    background: var(--color-bg);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact__list {
    margin-bottom: 32px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact__item-icon {
    width: 48px;
    height: 48px;
    background: rgba(232, 62, 140, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact__item:hover .contact__item-icon {
    background: var(--gradient-primary);
    color: #ffffff;
}

.contact__item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-lighter);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact__item span,
.contact__item a {
    font-size: 1rem;
    color: var(--color-dark);
    font-weight: 500;
}

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

.contact__hours {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 24px;
}

.contact__hours h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact__hours h3 i {
    color: var(--color-primary);
}

.contact__hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    font-size: 0.95rem;
}

.contact__hours-grid span:nth-child(odd) {
    color: var(--color-text-light);
    font-weight: 500;
}

.contact__hours-grid span:nth-child(even) {
    color: var(--color-dark);
    font-weight: 600;
}

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

.contact__map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ============================================
   16. PARTNERS
   ============================================ */
.partners {
    background: var(--gradient-hero);
    padding: 80px 0;
    overflow: hidden;
}

.partners__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.partners__track {
    display: flex;
    gap: 40px;
    animation: scroll-partners 25s linear infinite;
    width: max-content;
}

.partners__track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 90px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.partners__item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.partners__item img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.partners__item:hover img {
    opacity: 1;
    filter: none;
}

.partners__cta {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.partners__cta a {
    color: var(--color-primary-light);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.partners__cta a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================
   17. FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: 60px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer__logo {
    height: 50px;
    width: auto;
}

.footer__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.footer__tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer__credit a {
    color: var(--color-primary-light);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer__credit a:hover {
    color: #ffffff;
}

/* ============================================
   18. MESSENGER FLOATING BUTTON
   ============================================ */
.messenger-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0695FF 0%, #A334FA 50%, #FF6968 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(6, 149, 255, 0.35);
    z-index: 999;
    transition: all var(--transition-base);
    animation: messenger-pulse 3s ease-in-out infinite;
}

.messenger-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 149, 255, 0.45);
    animation: none;
}

@keyframes messenger-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(6, 149, 255, 0.3); }
    50% { box-shadow: 0 4px 35px rgba(6, 149, 255, 0.5); }
}

/* ============================================
   19. RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__subtitle {
        margin: 0 auto 40px;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__logo-showcase {
        width: 240px;
        height: 240px;
    }

    .hero__logo-img {
        width: 150px;
        display: block;
        object-fit: contain;
        object-position: center;
    }

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

    .stat:nth-child(2)::after {
        display: none;
    }

    .stat:nth-child(1)::after,
    .stat:nth-child(3)::after {
        right: 0;
        top: 20%;
        height: 60%;
    }

    .feature-card--large {
        grid-column: 1 / -1;
    }

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

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

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

    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer__brand {
        justify-content: center;
    }

    .footer__links {
        justify-content: center;
    }

    .footer__social {
        display: flex;
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   20. RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --header-height: 70px;
    }

    /* Header */
    .hamburger {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 5;
    }

    .nav__menu.active {
        transform: translateX(0);
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        display: block;
        padding: 18px 16px;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
        border-radius: var(--radius-md);
    }

    .nav__link:hover,
    .nav__link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav__link--cta {
        margin-top: 16px;
        text-align: center;
    }

    .hamburger.active .hamburger__line {
        background: #ffffff !important;
    }

    /* Hero */
    .hero__visual {
        display: none;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__scroll-indicator {
        display: none;
    }

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

    .stat {
        padding: 28px 16px;
    }

    .stat__value {
        font-size: 2rem;
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature-card--large {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-card--large .feature-card__icon {
        margin: 0 auto 16px;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Groups */
    .groups__grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .signup__steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step__connector {
        display: none;
    }

    /* FAQ */
    .faq-item__question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }

    .faq-item__answer.active {
        padding: 0 20px 20px;
    }

    /* Contact */
    .contact__content {
        grid-template-columns: 1fr;
    }

    .contact__map iframe {
        height: 300px;
    }

    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand {
        flex-direction: column;
    }
}

/* ============================================
   21. RESPONSIVE - SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .hero {
        padding: calc(var(--header-height) + 20px) 0 40px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .section-header__title {
        font-size: 1.5rem;
    }

    .stats {
        margin-top: -30px;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
        border-radius: var(--radius-lg);
    }

    .stat:nth-child(1)::after,
    .stat:nth-child(3)::after {
        top: 15%;
        height: 70%;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .group-card {
        padding: 24px 20px;
    }

    .step__number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .partners__item {
        min-width: 130px;
        height: 75px;
        padding: 16px 20px;
    }

    .partners__item img {
        max-height: 40px;
    }

    .partners__track {
        gap: 20px;
    }
}

/* ============================================
   22. ACCESSIBILITY
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    background: var(--color-primary);
    color: #ffffff;
    padding: 12px 24px;
    z-index: 10001;
    transition: top var(--transition-base);
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   23. PRINT
   ============================================ */
@media print {
    .header,
    .messenger-button,
    .scroll-progress,
    .hero__scroll-indicator,
    .hero__bg,
    .hero__cta {
        display: none;
    }

    body {
        color: #000;
    }

    section {
        page-break-inside: avoid;
        padding: 30px 0;
    }

    .hero {
        min-height: auto;
        background: none;
        color: #000;
    }

    .hero__title {
        color: #000;
    }
}
