/* ==========================================================================
   1. RESET I STRUKTURA BAZOWA
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAGŁÓWEK I LOGO */
header {
    background-color: #161b22;
    padding: 30px 0;
    border-bottom: 1px solid #30363d;
}

.logo-container {
    text-align: center;
}

.logo-placeholder-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff66;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 15px auto 0 auto;
    border-radius: 8px;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 60px 0;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 255, 102, 0.1);
    color: #00ff66;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid #00ff66;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.2rem;
    color: #8b949e;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   2. SIATKA WIZYTÓWEK (GRID) I SYLLABUS
   ========================================================================== */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 25px;
    flex: 1 1 calc(50% - 10px);
    min-width: 280px;
}

.card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.card h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card p {
    color: #8b949e;
    font-size: 0.95rem;
}

.showcase-box {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    border: 1px solid #30363d;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
}

.showcase-box h2 { color: #ffffff; margin-bottom: 15px; }
.showcase-box p { color: #8b949e; max-width: 700px; margin: 0 auto 25px auto; }

.showcase-btn {
    display: inline-block;
    background-color: #00ff66;
    color: #0d1117;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

#program-edukacyjny { padding: 40px 0; }

.marketing-intro {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(13, 17, 23, 0.8) 100%);
    border-left: 4px solid #00ff66;
    padding: 30px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 40px;
}

.marketing-intro h3 { color: #00ff66; font-size: 1.4rem; margin-bottom: 15px; }
.marketing-intro .highlight-text { color: #00ff66; font-size: 1.15rem; font-weight: bold; margin: 15px 0; }
.marketing-intro .muted-text { color: #8b949e; font-size: 0.95rem; }

.syllabus-container { background-color: #161b22; padding: 25px; border-radius: 12px; border: 1px solid #30363d; }
.syllabus-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #30363d; padding-bottom: 15px; }
.syllabus-header h2 { color: #00ff66; font-size: 22px; margin-bottom: 5px; }
.syllabus-header p { color: #8b949e; font-size: 13px; }

.quarter-card { background-color: #0d1117; border-radius: 8px; padding: 20px; margin-bottom: 20px; border-left: 4px solid #00ff66; position: relative; }
.quarter-card:last-child { margin-bottom: 0; }
.quarter-badge { position: absolute; top: 15px; right: 20px; background-color: #161b22; color: #00ff66; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; text-transform: uppercase; border: 1px solid #00ff66; }
.quarter-card h3 { color: #ffffff; font-size: 17px; margin-bottom: 10px; padding-right: 90px; }
.quarter-desc { color: #8b949e; font-size: 13px; margin-bottom: 15px; }
.lessons-list { list-style: none; }
.lessons-list li { font-size: 13px; color: #c9d1d9; margin-bottom: 8px; padding-left: 15px; position: relative; }
.lessons-list li::before { content: "▪"; color: #00ff66; position: absolute; left: 0; top: 0; }
.lessons-list li span { color: #00ff66; font-weight: bold; }


/* ==========================================================================
   3. CENNIK, LEKCJA POKAZOWA I PANCERNE RWD
   ========================================================================== */
#cennik { padding: 60px 0; margin-top: 40px; }
.cennik-header { text-align: center; margin-bottom: 45px; }
.cennik-header h2 { color: #00ff66; font-size: 2.2rem; margin-bottom: 15px; letter-spacing: 1px; }
.cennik-header p { color: #8b949e; }

.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; width: 100%; }
.price-card { background-color: #161b22; border: 1px solid #30363d; border-radius: 16px; padding: 35px; width: 100%; max-width: 360px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.price-card.popular { border: 2px solid #00ff66; box-shadow: 0 10px 30px rgba(0, 255, 102, 0.05); }

.card-badge { background-color: rgba(0, 255, 102, 0.1); color: #00ff66; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background-color: #00ff66; color: #0d1117; padding: 4px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
.price-card h3 { font-size: 1.6rem; margin: 15px 0 10px 0; color: #ffffff; }
.card-text { color: #8b949e; font-size: 0.9rem; margin-bottom: 25px; }
.price-box { margin-bottom: 30px; }
.price-box .amount { font-size: 2.8rem; font-weight: bold; color: #00ff66; }
.features-list { list-style: none; font-size: 0.9rem; }
.features-list li { margin-bottom: 10px; color: #c9d1d9; }
.features-list li span { color: #00ff66; margin-right: 8px; }

.btn-primary, .btn-secondary { margin-top: 30px; padding: 12px; border-radius: 8px; font-size: 0.95rem; font-weight: bold; cursor: pointer; width: 100%; border: none; }
.btn-primary { background-color: #00ff66; color: #0d1117; }
.btn-secondary { background-color: transparent; color: #00ff66; border: 2px solid #00ff66; }

.showcase-section { padding: 35px 20px; background-color: #161b22; border-radius: 12px; border: 1px solid #30363d; margin: 40px auto; width: 100%; max-width: 100%; }
.showcase-header { text-align: center; margin-bottom: 25px; }
.badge-free { background-color: #0d1117; color: #00ff66; padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: bold; text-transform: uppercase; border: 1px solid #00ff66; display: inline-block; margin-bottom: 12px; }
.showcase-header h2 { font-size: 22px; color: #ffffff; margin-bottom: 12px; }
.showcase-lead { font-size: 14px; color: #8b949e; }
.steps-container { background-color: #0d1117; border-left: 4px solid #00ff66; padding: 20px; border-radius: 0 8px 8px 0; margin-bottom: 25px; }
.steps-container h3 { font-size: 16px; color: #ffffff; margin-bottom: 15px; }
.steps-list { list-style-type: none; }
.steps-list li { margin-bottom: 12px; font-size: 13.5px; color: #c9d1d9; }
.steps-list li strong { color: #00ff66; display: block; margin-bottom: 2px; }

.info-grid { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.info-card { background-color: #0d1117; border: 1px solid #30363d; padding: 20px; border-radius: 8px; width: 100%; }
.info-card h4 { color: #00ff66; font-size: 15px; margin-bottom: 8px; }
.info-card p { font-size: 13px; color: #8b949e; }

.live-preview-box { border: 2px dashed #30363d; padding: 15px; border-radius: 12px; background-color: #161b22; margin: 40px auto; width: 100%; }
.preview-title { text-align: center; font-weight: bold; color: #00ff66; text-transform: uppercase; font-size: 12px; margin-bottom: 15px; }
.preview-iframe { width: 100%; height: 450px; border: none; border-radius: 8px; background-color: #ffffff; }

#apex-survey-section { background: #0d1117; padding: 40px 0; width: 100%; }
#survey-box { background: #161b22; padding: 25px; border-radius: 12px; border: 1px solid #30363d; text-align: center; width: 100%; }
#survey-title { color: #00ff66; font-size: 1.3rem; margin-bottom: 10px; }
#survey-text { font-size: 1rem; color: #c9d1d9; margin-bottom: 20px; }
#survey-buttons { display: flex; gap: 10px; justify-content: center; }
.btn-vote-yes { background: #00ff66; color: #0d1117; border: none; padding: 10px 24px; font-weight: bold; border-radius: 6px; cursor: pointer; }
.btn-vote-no { background: transparent; color: #8b949e; border: 1px solid #30363d; padding: 10px 20px; border-radius: 6px; cursor: pointer; }

footer { background-color: #161b22; padding: 20px 0; text-align: center; border-top: 1px solid #30363d; font-size: 0.85rem; color: #8b949e; margin-top: 40px; }

/* SANDBOX INTERNAL COMPONENTS */
.sandbox-body { background-color: #ffffff; padding: 10px; height: auto; }
.project-item { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px dashed #e0e0e0; }
.project-item:last-child { border-bottom: none; }
.project-item h3 { color: #2c3e50; font-size: 16px; margin-bottom: 8px; }
.project-item p { font-size: 14px; color: #555; margin-bottom: 10px; }
.project-img { max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* RESPONSYWNOŚĆ MOBILNA */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero .lead { font-size: 1rem; }
    .card { flex: 1 1 100%; }
    .quarter-badge { position: static; display: inline-block; margin-bottom: 10px; }
    .quarter-card h3 { padding-right: 0; }
    .price-grid { flex-direction: column; align-items: center; }
    .price-card { width: 100%; max-width: 100%; }
}
@media (min-width: 600px) {
    .info-grid { flex-direction: row; }
    .info-card { flex: 1; }
    .showcase-header h2 { font-size: 28px; }
}


/* ==========================================================================
   STYLE DLA KOMPONENTU ANKIETY WALIDACYJNEJ
   ========================================================================== */
#apex-survey-section { 
    background: #0d1117; 
    padding: 40px 0; 
    width: 100%; 
}
#survey-box { 
    background: #161b22; 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid #30363d; 
    text-align: center; 
    width: 100%; 
}
#survey-title { color: #00ff66; font-size: 1.3rem; margin-bottom: 10px; }
#survey-text { font-size: 1rem; color: #c9d1d9; margin-bottom: 20px; }
#survey-buttons { display: flex; gap: 10px; justify-content: center; }
.btn-vote-yes { background: #00ff66; color: #0d1117; border: none; padding: 10px 24px; font-weight: bold; border-radius: 6px; cursor: pointer; }
.btn-vote-no { background: transparent; color: #8b949e; border: 1px solid #30363d; padding: 10px 20px; border-radius: 6px; cursor: pointer; }
.success-thanks { color: #00ff66; font-size: 1.1rem; font-weight: bold; }
#survey-stats { color: #8b949e; font-size: 0.9rem; margin-bottom: 15px; }
.survey-form { display: flex; flex-direction: column; gap: 10px; max-width: 400px; margin: 0 auto; }
.survey-form label { font-size: 0.85rem; color: #8b949e; text-align: left; }
.form-row { display: flex; gap: 10px; }
.survey-form input { flex: 1; background: #0d1117; border: 1px solid #30363d; padding: 10px; border-radius: 6px; color: #fff; }
.survey-form button { background: #238636; color: #fff; border: none; padding: 10px 20px; font-weight: bold; border-radius: 6px; cursor: pointer; }

/* FORMULARZ OPINII UAT */
.uat-section { max-width: 700px; margin: 40px auto; padding: 0 15px; }
.uat-box { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 25px; }
.uat-box h2 { color: #56D364; margin-top: 0; font-size: 1.4rem; }
.uat-subtitle { color: #8b949e; font-size: 0.95rem; margin-bottom: 20px; }
.uat-group { margin-bottom: 20px; }
.uat-label { display: block; font-weight: bold; color: #f0f6fc; margin-bottom: 10px; font-size: 0.95rem; }
.uat-option { display: flex; align-items: center; gap: 10px; background: #0d1117; border: 1px solid #30363d; padding: 12px; border-radius: 8px; margin-bottom: 8px; cursor: pointer; color: #c9d1d9; font-size: 0.92rem; }
.uat-option input[type="radio"], .uat-option input[type="checkbox"] { transform: scale(1.25); accent-color: #56D364; }
.uat-input { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 8px; border: 1px solid #30363d; background: #0d1117; color: #f0f6fc; font-size: 0.95rem; }
.uat-input:focus { outline: none; border-color: #56D364; }
