/* Strona powitalna Klaseo – styl jak edukacja-platforma */
* { margin: 0; padding: 0; box-sizing: border-box; }

body.landing-page {
    font-family: 'Fira Sans', sans-serif;
    background-color: #f8f9fa;
    color: #202124;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left { display: flex; align-items: center; gap: 12px; }
.header-left h2 { font-size: 20px; font-weight: 500; color: #202124; }
.logo-button {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit; background: none; border: none; cursor: pointer; font: inherit;
}
.logo-icon { font-size: 32px; color: #1976d2; }
.header-right { display: flex; align-items: center; gap: 8px; }

.login-btn-header,
.register-btn-header {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 500;
    text-decoration: none; transition: all 0.3s ease;
}
.login-btn-header {
    background: transparent; color: #5f6368; border: 1px solid #dadce0;
}
.login-btn-header:hover { background: #f8f9fa; border-color: #5f6368; color: #202124; }
.register-btn-header {
    background: #1976d2; color: white; border: none;
}
.register-btn-header:hover {
    background: #1565c0;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
    transform: translateY(-1px);
}

.landing-main { flex: 1; width: 100%; max-width: 100%; padding-top: 64px; }

.hero-section {
    max-width: 1200px; margin: 0 auto; padding: 80px 24px 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title {
    font-size: 48px; font-weight: 700; color: #202124; line-height: 1.2; margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 20px; color: #5f6368; line-height: 1.6; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; }
.cta-primary, .cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 24px; font-size: 16px; font-weight: 500;
    text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; font-family: inherit;
}
.cta-primary { background: #1976d2; color: white; }
.cta-primary:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    transform: translateY(-2px);
}
.cta-secondary { background: white; color: #1976d2; border: 2px solid #1976d2; }
.cta-secondary:hover { background: #f8f9fa; transform: translateY(-2px); }
.cta-primary.large, .cta-secondary.large { padding: 16px 32px; font-size: 18px; }

.hero-stats { display: flex; gap: 48px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 28px; font-weight: 700; color: #1976d2; line-height: 1; }
.stat-label { font-size: 14px; color: #5f6368; margin-top: 4px; }

.hero-image .image-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #1976d2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.hero-image .image-placeholder .material-icons { font-size: 64px; margin-bottom: 16px; opacity: 0.6; }
.hero-image .image-placeholder p { font-size: 16px; font-weight: 500; opacity: 0.8; }

.features-section {
    max-width: 1200px; margin: 0 auto; padding: 80px 24px;
    background: #f8f9fa; width: 100%;
}
.section-header { text-align: center; margin-bottom: 64px; position: relative; padding-bottom: 24px; }
.section-header::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
    border-radius: 2px;
}
.section-title {
    font-size: 42px; font-weight: 700; color: #202124; margin-bottom: 12px;
    line-height: 1.2; letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 18px; color: #5f6368; font-weight: 400; max-width: 600px; margin: 0 auto;
}
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.feature-card {
    background: white; padding: 32px; border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.feature-icon {
    width: 64px; height: 64px; min-width: 64px; min-height: 64px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.feature-icon .material-icons { font-size: 32px; color: #1976d2; }
.feature-title { font-size: 24px; font-weight: 600; color: #202124; margin-bottom: 12px; }
.feature-description { font-size: 16px; color: #5f6368; line-height: 1.6; }

.how-it-works-section {
    max-width: 1200px; margin: 0 auto; padding: 80px 24px; width: 100%;
}
.steps-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px; margin-top: 48px;
}
.step-item { display: flex; gap: 24px; align-items: flex-start; }
.step-number {
    width: 56px; height: 56px; background: #1976d2; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; flex-shrink: 0;
}
.step-content { flex: 1; }
.step-title { font-size: 24px; font-weight: 600; color: #202124; margin-bottom: 8px; }
.step-description { font-size: 16px; color: #5f6368; line-height: 1.6; }

.cta-section {
    max-width: 1200px; margin: 0 auto 80px; padding: 80px 24px;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border-radius: 24px; width: calc(100% - 48px); margin-left: auto; margin-right: auto;
}
.cta-content { text-align: center; color: white; }
.cta-title { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.cta-subtitle { font-size: 20px; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .cta-primary { background: white; color: #1976d2; }
.cta-section .cta-primary:hover {
    background: #f8f9fa; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.cta-section .cta-secondary { background: transparent; color: white; border: 2px solid white; }
.cta-section .cta-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.landing-footer {
    background: #202124; color: white; padding: 48px 24px 24px; margin-top: auto; width: 100%;
}
.landing-footer .footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.landing-footer .footer-section h3, .landing-footer .footer-section h4 {
    color: white; margin-bottom: 16px; font-size: 18px;
}
.landing-footer .footer-section p { font-size: 14px; opacity: 0.9; margin-bottom: 8px; }
.landing-footer .footer-section ul { list-style: none; }
.landing-footer .footer-section a { color: rgba(255,255,255,0.9); text-decoration: none; }
.landing-footer .footer-section a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .hero-section { grid-template-columns: 1fr; padding: 120px 24px 60px; }
    .hero-image { order: -1; }
    .hero-title { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 32px; }
}
