* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #F8FAFC;
    color: #334155;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1E3A8A;
    text-decoration: none;
}

.logo span {
    color: #EA580C;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background: #EA580C;
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #C2410C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.hero {
    text-align: center;
    padding: 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.8rem;
    color: #1E3A8A;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: #CBD5E1;
}

.feature-card h3 {
    color: #1E3A8A;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #64748B;
    font-size: 0.95rem;
}

.subject-card.math {
    border-top: 4px solid #2563EB;
}
.subject-card.math:hover {
    border-color: #2563EB;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.12);
}

.subject-card.polski {
    border-top: 4px solid #9333EA;
}
.subject-card.polski:hover {
    border-color: #9333EA;
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.12);
}

.subject-card.english {
    border-top: 4px solid #0D9488;
}
.subject-card.english:hover {
    border-color: #0D9488;
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.12);
}

.tag-math { background: #DBEAFE; color: #1E40AF; }
.tag-polski { background: #F3E8FF; color: #6B21A8; }
.tag-english { background: #CCFBF1; color: #115E59; }

.pricing-section {
    max-width: 1000px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1E3A8A;
    font-weight: 800;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
    border-color: #EA580C;
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15);
}

.price-card.featured:hover {
    box-shadow: 0 20px 30px rgba(234, 88, 12, 0.25);
}

.badge-popular {
    position: absolute;
    top: -14px;
    right: 20px;
    background: #EA580C;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.price-card h3 {
    font-size: 1.5rem;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: #64748B;
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
}

.price-features li {
    margin-bottom: 0.75rem;
    color: #475569;
}

.form-section {
    max-width: 600px;
    margin: 0 auto 5rem auto;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1rem;
    color: #1E293B;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-submit {
    width: 100%;
    background: #EA580C;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #C2410C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

footer {
    text-align: center;
    padding: 2rem;
    background: #0F172A;
    color: #94A3B8;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    .pricing-section, .hero, .form-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}