*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f4f7fb;
    color:#1f2937;
}

.navbar{
    height:70px;
    background:#4f46e5;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 50px;
}

.logo{
    font-size:26px;
    font-weight:bold;
}

.nav-links a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:500;
}

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:70px 60px;
    background:linear-gradient(135deg,#eef2ff,#ffffff);
}

.hero-text{
    width:55%;
}

.hero-text h1{
    font-size:48px;
    margin-bottom:20px;
    color:#312e81;
}

.hero-text p{
    font-size:20px;
    line-height:1.6;
}

button{
    background:#4f46e5;
    color:white;
    padding:14px 26px;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    margin-top:20px;
}

.hero-card{
    width:35%;
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    text-align:center;
}

.section{
    padding:55px 60px;
}

.section h2{
    text-align:center;
    color:#312e81;
    margin-bottom:30px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    text-align:center;
    font-size:18px;
}

.card h3{
    color:#4f46e5;
}

.light{
    background:#eef2ff;
}
.game-board{
    width:500px;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.memory-card{
    height:100px;
    background:#4f46e5;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    cursor:pointer;
    color:white;
}

.memory-card.flipped{
    background:white;
    border:3px solid #4f46e5;
    color:black;
}
.game-stats{
    width:500px;
    margin:25px auto;
    display:flex;
    justify-content:space-between;
    background:white;
    padding:15px 20px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    font-weight:bold;
}

.game-actions{
    text-align:center;
}

.win-message{
    text-align:center;
    margin-top:25px;
    font-size:24px;
    font-weight:bold;
    color:#16a34a;
}

.main-layout{
    display:flex;
    gap:20px;
    padding:20px;
}

.sidebar{
    width:220px;
}

.main-content{
    flex:1;
}

.ad-box{
    background:white;
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.card-link{
    text-decoration:none;
    color:inherit;
}

.card:hover{
    transform:translateY(-5px);
    transition:0.3s;
}
.kids-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    padding:60px;
    border-radius:25px;
    background:linear-gradient(135deg,#fff7ad,#ffd6e8,#dbeafe);
    margin-bottom:30px;
}

.badge{
    background:white;
    color:#7c3aed;
    padding:10px 18px;
    border-radius:30px;
    font-weight:bold;
    display:inline-block;
    margin-bottom:15px;
}

.kids-hero h1{
    font-size:48px;
    color:#4c1d95;
    margin-bottom:20px;
}

.kids-hero p{
    font-size:19px;
    line-height:1.6;
}

.brain-card{
    background:white;
    padding:30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
    width:320px;
}

.big-emoji{
    font-size:80px;
}

.mini-stats{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:15px;
}

.mini-stats div{
    background:#eef2ff;
    padding:8px 12px;
    border-radius:20px;
    font-weight:bold;
}

.kid-card{
    background:white;
    padding:28px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.10);
    border:3px solid transparent;
    min-height:210px;
}

.kid-card:hover{
    border-color:#8b5cf6;
    transform:translateY(-7px) scale(1.02);
    transition:0.3s;
}

.card-icon{
    font-size:55px;
    margin-bottom:10px;
}

.kid-card h3{
    color:#4f46e5;
    font-size:24px;
}

.fun-zone{
    background:#fef3c7;
    border-radius:25px;
    margin-top:25px;
}

.skill-row{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.skill-pill{
    background:white;
    padding:15px 22px;
    border-radius:30px;
    font-size:18px;
    font-weight:bold;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.sponsor-card{
    padding:18px;
    border-radius:22px;
    margin-bottom:20px;
    text-align:center;
    box-shadow:0 8px 22px rgba(0,0,0,0.10);
    border:2px solid white;
}

.sponsor-card h3{
    margin:12px 0 8px 0;
}

.sponsor-card p{
    font-size:14px;
    line-height:1.5;
}

.sponsor-tag{
    background:white;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    color:#4f46e5;
}

.purple{
    background:linear-gradient(135deg,#ede9fe,#ffffff);
}

.yellow{
    background:linear-gradient(135deg,#fef3c7,#ffffff);
}

.green{
    background:linear-gradient(135deg,#dcfce7,#ffffff);
}

.blue{
    background:linear-gradient(135deg,#dbeafe,#ffffff);
}

.small-btn{
    padding:8px 14px;
    font-size:13px;
    border-radius:20px;
}
.hero-note{
    background:white;
    display:inline-block;
    padding:12px 18px;
    border-radius:25px;
    font-weight:bold;
    color:#4f46e5;
    margin-top:15px;
}
.form-section{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
}

.form-card{
    width:420px;
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.form-card h2{
    text-align:center;
    margin-bottom:30px;
    color:#4f46e5;
}

.form-card form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-card input{
    padding:14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    font-size:16px;
}
.study-card{
    margin:20px auto;
}

.study-card label{
    font-weight:bold;
    color:#4f46e5;
}

.study-card select{
    padding:14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    font-size:16px;
}

.quiz-box{
    max-width:700px;
    margin:35px auto;
    background:white;
    padding:30px;
    border-radius:25px;
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
}

.question-card{
    background:#f9fafb;
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
}

.option{
    display:block;
    margin:10px 0;
    font-size:16px;
}

.result-box{
    max-width:500px;
    margin:25px auto;
    background:#dcfce7;
    color:#166534;
    padding:20px;
    border-radius:20px;
    text-align:center;
    font-size:24px;
    font-weight:bold;
}
.form-card label{
    font-weight:bold;
    color:#4f46e5;
    margin-bottom:5px;
}
.selected-child{
    color:white;
    font-weight:bold;
    margin-left:20px;
}
.dashboard-top{
    background:white;
    padding:20px;
    border-radius:18px;
    margin-bottom:25px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.dashboard-top label{
    font-weight:bold;
    color:#4f46e5;
    margin-right:10px;
}

.dashboard-top select{
    padding:12px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:16px;
}

.dashboard-card{
    background:white;
    padding:30px;
    border-radius:20px;
    margin-bottom:30px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:20px;
}

.stat-box{
    background:#eef2ff;
    text-align:center;
    padding:22px;
    border-radius:18px;
}

.stat-box h4{
    font-size:36px;
    color:#4f46e5;
    margin:0;
}

.stat-box p{
    margin-top:8px;
    font-weight:bold;
}

.chart-box{
    height:240px;
    display:flex;
    align-items:flex-end;
    gap:18px;
    background:#f9fafb;
    padding:25px;
    border-radius:18px;
}

.bar-wrapper{
    flex:1;
    display:flex;
    align-items:flex-end;
    justify-content:center;
}

.bar{
    width:45px;
    background:#4f46e5;
    border-radius:12px 12px 0 0;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    color:white;
    font-weight:bold;
    padding-top:8px;
    min-height:25px;
}

.recent-scores{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.custom-table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

.custom-table th{
    background:#4f46e5;
    color:white;
    padding:12px;
}

.custom-table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
    text-align:center;
}

.math-box{
    max-width:520px;
    margin:35px auto;
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
}

.math-box h1{
    font-size:44px;
    color:#4f46e5;
}

.math-box input{
    width:220px;
    padding:14px;
    font-size:22px;
    text-align:center;
    border-radius:12px;
    border:1px solid #d1d5db;
    margin:15px 0;
}

#message{
    margin-top:15px;
    font-size:20px;
    font-weight:bold;
}

.pattern-box{
    max-width:620px;
    margin:35px auto;
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
}

.pattern-box h1{
    font-size:42px;
    color:#4f46e5;
    margin-bottom:25px;
}

.options-box{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-top:20px;
}

.option-btn{
    font-size:22px;
    padding:18px;
    border-radius:15px;
    border:none;
    background:#eef2ff;
    color:#312e81;
    cursor:pointer;
    font-weight:bold;
}

.option-btn:hover{
    background:#c7d2fe;
}

.correct-option{
    background:#22c55e !important;
    color:white !important;
}

.wrong-option{
    background:#ef4444 !important;
    color:white !important;
}

.badge-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:20px;
}

.badge-card{
    background:#fff7ed;
    border:2px solid #fed7aa;
    border-radius:20px;
    padding:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.badge-icon{
    font-size:45px;
    margin-bottom:10px;
}

.badge-card h4{
    color:#c2410c;
    margin:8px 0;
}

.badge-card p{
    font-size:14px;
    color:#374151;
}

.badge-card small{
    color:#6b7280;
}
.badge-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.badge-popup-content{
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    max-width:420px;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
    animation:popIn 0.3s ease;
}

.badge-popup-content h2{
    color:#4f46e5;
    font-size:30px;
}

.badge-popup-content h3{
    color:#c2410c;
    font-size:24px;
    margin:20px 0;
}

@keyframes popIn{
    from{
        transform:scale(0.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}
.visual-box{
    max-width:650px;
    margin:35px auto;
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
}

.visual-box h1{
    font-size:48px;
    color:#4f46e5;
    margin-bottom:25px;
}

.visual-options{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top:20px;
}

.visual-option-btn{
    font-size:36px;
    padding:18px;
    border-radius:18px;
    border:none;
    background:#eef2ff;
    cursor:pointer;
}

.visual-option-btn:hover{
    background:#c7d2fe;
}
.target-time-box{
    max-width:500px;
    margin:25px auto;
    background:white;
    padding:20px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.target-time-box label{
    font-weight:bold;
    color:#4f46e5;
    margin-right:10px;
}

.target-time-box select{
    padding:10px 15px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:16px;
}

.target-time-box p{
    font-size:14px;
    color:#6b7280;
}

.worksheet-answer-line{
    margin-top:12px;
    color:#374151;
    font-weight:bold;
}
[
  {
    "TopicID": 29,
    "TopicName": "Decimals"
  },
  {
    "TopicID": 31,
    "TopicName": "Factors and Multiples"
  },
  {
    "TopicID": 28,
    "TopicName": "Fractions"
  },
  {
    "TopicID": 30,
    "TopicName": "Percentages"
  }
]
.qb-form-card{
    max-width:1100px;
    margin:30px auto;
    background:#ffffff;
    padding:35px;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.qb-form-card h2{
    text-align:center;
    color:#4f46e5;
    margin-bottom:30px;
}

.qb-section{
    margin-bottom:28px;
    padding-bottom:22px;
    border-bottom:1px solid #e5e7eb;
}

.qb-section h3{
    color:#2563eb;
    margin-bottom:18px;
}

.qb-grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:18px;
}

.qb-grid-2{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:18px;
}

.qb-group label{
    display:block;
    font-weight:700;
    margin-bottom:7px;
    color:#374151;
}

.qb-group input,
.qb-group select,
.qb-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    box-sizing:border-box;
}

.qb-group textarea{
    min-height:110px;
    resize:vertical;
}

.qb-actions{
    display:flex;
    gap:15px;
    align-items:center;
}

.qb-actions button{
    background:#4f46e5;
    color:white;
    border:none;
    padding:13px 28px;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
}

.qb-actions a{
    text-decoration:none;
    color:#4f46e5;
    font-weight:bold;
}

@media(max-width:768px){
    .qb-grid-3,
    .qb-grid-2{
        grid-template-columns:1fr;
    }
}
.qb-list-card{
    max-width:1200px;
    margin:30px auto;
    background:white;
    padding:30px;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.qb-list-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.qb-list-header h2{
    color:#4f46e5;
}

.qb-list-header button{
    background:#4f46e5;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
}

.qb-table-wrapper{
    width:100%;
    overflow-x:auto;
}

.question-table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

.question-table th{
    background:#4f46e5;
    color:white;
    padding:12px;
    text-align:left;
    white-space:nowrap;
}

.question-table td{
    padding:11px;
    border:1px solid #e5e7eb;
    vertical-align:top;
}

.question-table tr:nth-child(even){
    background:#f8fafc;
}

.question-text-cell{
    min-width:300px;
}
.qb-filter-box{
    background:#f8fafc;
    padding:22px;
    border-radius:18px;
    margin-bottom:20px;
    border:1px solid #e5e7eb;
}

.qb-filter-actions button{
    background:#4f46e5;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
    margin-right:12px;
}

.qb-filter-actions a{
    color:#4f46e5;
    font-weight:bold;
    text-decoration:none;
}
@media print {

    body * {
        visibility: hidden;
    }

    #worksheet-print-area,
    #worksheet-print-area * {
        visibility: visible;
    }

    #worksheet-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
        box-shadow: none;
        border: none;
    }

    .no-print {
        display: none !important;
    }

}

.worksheet-container{
    background:white;
    padding:30px;
}

.worksheet-header{
    text-align:center;
    margin-bottom:20px;
}

.worksheet-header h1{
    color:#4f46e5;
    margin-bottom:5px;
}

.worksheet-header h2{
    margin-top:0;
}

.worksheet-info{
    width:100%;
    margin-bottom:20px;
    border-collapse:collapse;
}

.worksheet-info td{
    padding:10px;
}

.worksheet-question{
    margin-bottom:25px;
}

.worksheet-answer-line{
    margin-top:15px;
}

.worksheet-footer{
    margin-top:40px;
    font-weight:bold;
}

/* =========================
   ADMIN LOGIN
========================= */

.admin-login-container{

    min-height:80vh;

    display:flex;

    justify-content:center;

    align-items:center;
}

.admin-login-card{

    width:420px;

    background:#ffffff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,0.15);

    text-align:center;
}

.admin-logo h1{

    margin-bottom:5px;

    color:#4f46e5;
}

.admin-logo p{

    color:#6b7280;

    margin-bottom:25px;
}

.admin-login-card h2{

    margin-bottom:25px;
}

.admin-login-card .form-group{

    text-align:left;

    margin-bottom:18px;
}

.admin-login-card label{

    display:block;

    margin-bottom:6px;

    font-weight:600;
}

.admin-login-card input{

    width:100%;

    padding:12px;

    border:1px solid #d1d5db;

    border-radius:10px;

    box-sizing:border-box;
}

.admin-btn{

    width:100%;

    padding:14px;

    border:none;

    border-radius:10px;

    background:#4f46e5;

    color:white;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    margin-top:10px;
}

.admin-btn:hover{

    opacity:0.9;
}
.checkbox-row{
    display:flex;
    align-items:center;
    gap:8px;
}

.checkbox-label{
    margin:0;
    padding:0;
    display:inline !important;
    font-weight:600;
}
.pagination-box{
    margin-top:20px;
    display:flex;
    gap:15px;
}

.pagination-box a{
    background:#4f46e5;
    color:white;
    padding:10px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}
.selected-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.parent-note{
    background:#fff8d6;
    border-left:6px solid #ff9800;
    padding:15px;
    border-radius:12px;
    font-size:18px;
    font-weight:600;
    color:#333;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    animation:pulse 3s infinite;
}

@keyframes pulse{
    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.02);
    }

    100%{
        transform:scale(1);
    }
}

.account-menu {
    position: relative;
    display: inline-block;
}

.account-btn {
    background: #ffffff22;
    color: white;
    border: 1px solid #ffffff55;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

.account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: white;
    min-width: 220px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 999;
}

.account-dropdown a {
    display: block;
    color: #222 !important;
    padding: 14px 18px;
    text-decoration: none;
    font-size: 15px;
}

.account-dropdown a:hover {
    background: #f2f0ff;
    color: #4f35e8 !important;
}

.account-menu:hover .account-dropdown {
    display: block;
}

.parent-menu {
    position: relative;
    display: inline-block;
}

.parent-btn {
    background: #ffffff22;
    color: white;
    border: 1px solid #ffffff55;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
}

.parent-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: white;
    min-width: 220px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 999;
}

.parent-dropdown a {
    display: block;
    color: #222 !important;
    padding: 14px 18px;
    text-decoration: none;
    font-size: 15px;
}

.parent-dropdown a:hover {
    background: #f2f0ff;
    color: #4f35e8 !important;
}

.parent-menu:hover .parent-dropdown {
    display: block;
}

.current-child {
    padding: 14px 18px;
    background: #f0f8ff;
    color: #222;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

.footer a {
    text-decoration: none;
    color: #2c3e50;
    margin: 0 10px;
}

.footer a:hover {
    color: #007bff;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

.footer a {
    text-decoration: none;
    color: #2c3e50;
    margin: 0 10px;
}

.footer a:hover {
    color: #007bff;
}

.home-page {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(120deg, #f7f5ff, #eef7ff);
}

.home-main {
    text-align: center;
}

.home-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.promo-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 14px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.promo-card span {
    background: #fff;
    color: #5b2cff;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.promo-card h3 {
    font-size: 22px;
    margin: 18px 0 10px;
    color: #11123a;
}

.promo-card p {
    font-size: 15px;
    line-height: 1.5;
}

.promo-card button {
    margin-top: 14px;
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #5b2cff, #3b00c9);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.promo-card.yellow {
    background: #fff8df;
}

.promo-card.green {
    background: #effff4;
}

.promo-card.blue {
    background: #eef7ff;
}

.home-hero {
    min-height: 360px;
    padding: 18px 20px 10px;
    background:
        radial-gradient(circle at left, rgba(116,65,255,0.08), transparent 32%),
        radial-gradient(circle at right, rgba(255,80,160,0.10), transparent 32%),
        #ffffff;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-badge {
    display: inline-block;
    padding: 9px 24px;
    border-radius: 25px;
    background: #fff;
    color: #2155ff;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    margin-bottom: 10px;
}

.home-hero h1 {
    font-size: 62px;
    line-height: 1.05;
    margin: 10px 0;
    color: #071145;
    font-weight: 900;
}

.home-hero h1 span {
    color: #071145;
}

.hero-subtitle {
    max-width: 720px;
    margin: 14px auto;
    font-size: 18px;
    line-height: 1.5;
    color: #1b1b3d;
    font-weight: 600;
}

.hero-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 16px 0;
    font-weight: 700;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.hero-btn {
    text-decoration: none;
    border-radius: 28px;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 800;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #6429ff, #3b00c9);
    color: white;
    box-shadow: 0 8px 20px rgba(91,44,255,0.35);
}

.hero-btn.secondary {
    border: 2px solid #5b2cff;
    color: #4a19db;
    background: white;
}

.parent-note-new {
    max-width: 1000px;
    margin: 18px auto;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: linear-gradient(135deg, #fff7cf, #fffdf3);
    border: 2px solid #f5c94c;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.parent-icon {
    font-size: 42px;
}

.shield-icon {
    margin-left: auto;
    font-size: 60px;
}

.parent-note-new h2 {
    font-size: 34px;
    color: #3a2500;
    margin: 0 0 8px;
}

.parent-note-new p {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    margin: 0;
}

.skills-section {
    margin-top: 8px;
}

.skills-section h2 {
    font-size: 28px;
    color: #231b86;
    margin-bottom: 12px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.skill-card {
    background: #fff;
    border-radius: 15px;
    padding: 18px 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    border-bottom: 4px solid #5b2cff;
}

.skill-card div {
    font-size: 34px;
}

.skill-card h3 {
    margin: 8px 0 6px;
    color: #3d22d9;
}

.skill-card p {
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.home-stats {
    margin-top: 18px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.home-stats div {
    border-right: 1px solid #ddd;
}

.home-stats div:last-child {
    border-right: none;
}

.home-stats span {
    font-size: 34px;
}

.home-stats h3 {
    color: #4b20dd;
    font-size: 24px;
    margin: 4px 0;
}

.home-stats p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .home-page {
        grid-template-columns: 1fr;
    }

    .home-side {
        flex-direction: row;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 700px) {
    .home-side {
        flex-direction: column;
    }

    .skills-grid,
    .home-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .parent-note-new {
        flex-direction: column;
        text-align: center;
    }

    .shield-icon {
        margin-left: 0;
    }
}

.age-section {
    margin-top: 18px;
}

.age-section h2 {
    font-size: 28px;
    color: #231b86;
    margin-bottom: 14px;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.age-card {
    text-decoration: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 12px;
    color: #11123a;
    box-shadow: 0 7px 20px rgba(0,0,0,0.10);
    transition: 0.25s;
    border-bottom: 5px solid #5b2cff;
}

.age-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(91,44,255,0.25);
}

.age-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.age-card h3 {
    color: #4b20dd;
    font-size: 22px;
    margin: 8px 0;
}

.age-card p {
    font-size: 14px;
    line-height: 1.4;
    min-height: 42px;
}

.age-card span {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6429ff, #3b00c9);
    color: white;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 900px) {
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .age-grid {
        grid-template-columns: 1fr;
    }
}

.hero-with-kids {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.hero-center-content {
    position: relative;
    z-index: 2;
}

.hero-kid {
    text-align: center;
    position: relative;
    z-index: 1;
}

.kid-face {
    font-size: 90px;
    animation: kidFloat 3s ease-in-out infinite;
}

.kid-book {
    font-size: 34px;
    margin-top: -8px;
}

.hero-kid-left {
    align-self: end;
}

.hero-kid-right {
    align-self: end;
}

@keyframes kidFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {
    .hero-with-kids {
        grid-template-columns: 1fr;
    }

    .hero-kid {
        display: none;
    }
}

.age-subtitle {
    margin: -6px auto 14px;
    max-width: 760px;
    font-size: 16px;
    font-weight: 700;
    color: #4a3f72;
}

.preview-badge {
    display: inline-block;
    background: #fff4c2;
    color: #6b4b00;
    padding: 5px 13px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.age-card h4 {
    margin: -2px 0 10px;
    color: #11123a;
    font-size: 16px;
}

.teaser-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 10px 0;
}

.teaser-row span {
    background: #f3efff;
    color: #4b20dd;
    border-radius: 16px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.locked-line {
    margin-top: 8px;
    color: #d35400;
    font-size: 13px;
    font-weight: 900;
}

.register-note {
    margin: 16px auto 0;
    display: inline-block;
    background: linear-gradient(135deg, #fff7cf, #ffffff);
    border: 2px dashed #f0b429;
    color: #3a2500;
    padding: 10px 24px;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 900;
}
.teaser-list {
    margin: 10px 0;
    text-align: left;
}

.teaser-list div {
    background: #f3efff;
    color: #3d22d9;
    border-radius: 14px;
    padding: 7px 10px;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
}

.teaser-list b {
    color: #0b8a27;
    float: right;
}

.register-box{
    margin-top:15px;
    padding:12px 15px;
    border-radius:12px;
    background:#f8f9ff;
    border:1px solid #6b63ff;
    text-align:center;
}

.register-box strong{
    color:#3b00c9;
    font-size:18px;
}

.register-box small{
    display:block;
    color:#555;
    margin-top:6px;
    line-height:1.4;
    font-size:13px;
}

.register-btn{
    display:inline-block;
    background:#5b2cff;
    color:#fff;
    text-decoration:none;
    padding:8px 22px;
    border-radius:25px;
    font-size:14px;
    font-weight:bold;
    transition:.3s;
}

.register-btn:hover{
    background:#3b00c9;
}

.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 18px;
}

.about-hero {
    text-align: center;
    padding: 45px 25px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f5efff, #eaf6ff);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.about-badge {
    display: inline-block;
    background: white;
    color: #5422d6;
    padding: 9px 22px;
    border-radius: 25px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.about-hero h1 {
    font-size: 42px;
    color: #231b86;
    margin: 20px 0 14px;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 600;
    color: #333;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 7px 20px rgba(0,0,0,0.08);
    border-left: 6px solid #5b2cff;
}

.about-card h2 {
    color: #231b86;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.about-features,
.skills-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.about-features div,
.skills-mini-grid span {
    background: #f3efff;
    color: #3d22d9;
    padding: 12px;
    border-radius: 14px;
    font-weight: 800;
    text-align: center;
}

.parent-about {
    background: linear-gradient(135deg, #fff7cf, #ffffff);
    border-left-color: #f0b429;
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, #5b2cff, #3b00c9);
    color: white;
    padding: 35px 22px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(91,44,255,0.25);
}

.about-cta h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.about-cta p {
    max-width: 720px;
    margin: 0 auto 22px;
    font-size: 17px;
    line-height: 1.6;
}

.about-btn {
    display: inline-block;
    background: white;
    color: #3b00c9;
    padding: 12px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 800px) {
    .about-grid,
    .about-features,
    .skills-mini-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 30px;
    }
}

.form-control{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:10px;
    border:1px solid #dcdcdc;
    font-size:15px;
    box-sizing:border-box;
}

textarea.form-control{
    resize:vertical;
    font-family:inherit;
}
.faq-container {
    max-width: 950px;
    margin: 0 auto 25px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 0;
    box-shadow: 0 7px 18px rgba(0,0,0,0.08);
    border-left: 6px solid #5b2cff;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-size: 18px;
    font-weight: 900;
    color: #231b86;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: " +";
    float: right;
    color: #5b2cff;
    font-size: 22px;
}

.faq-item[open] summary::after {
    content: " −";
}

.faq-item p {
    padding: 0 22px 18px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}
.status-new {
    background: #ffe1e1;
    color: #b00020;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
}

.status-replied {
    background: #dfffe5;
    color: #087b22;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
}

.status-progress {
    background: #fff4c2;
    color: #7a5200;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
}