html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #0b1530 !important;
    overflow-y: scroll;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 20% 20%, rgba(15, 66, 176, 0.3), transparent 35%),
                radial-gradient(circle at 85% 15%, rgba(243, 179, 64, 0.2), transparent 30%),
                linear-gradient(135deg, #0c1530 0%, #0a1026 40%, #0c122a 100%);
    color: #e8edf7;
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 60%, rgba(255,255,255,0.06), transparent 35%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-highlight {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: inherit;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #c6cee3;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.hero-stats .stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    padding: 14px 18px;
    min-width: 150px;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.hero-stats .stat-item:not(:last-child)::after {
    content: none;
}

.hero-stats .number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-stats .label {
    font-size: 0.95rem;
    color: #a8b2cc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-buttons .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.hero-image {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 360px;
}

.hero-illustration {
    position: relative;
    height: 400px;
    min-height: 360px;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-main-icon {
    width: 140px;
    height: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    animation: brainFloat 3.2s ease-in-out infinite;
    opacity: 0.98;
    z-index: 3;
}

.hero-brain-icon {
    font-size: 7rem;
    line-height: 1;
    display: block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 4s ease-in-out infinite;
    opacity: 0.85;
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: transform;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.element-1 {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    left: 75%;
    animation-delay: 1s;
}

.element-3 {
    top: 80%;
    left: 25%;
    animation-delay: 2s;
}

.element-4 {
    top: 80%;
    left: 75%;
    animation-delay: 3s;
}

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

.hero-brain-svg,
.hero-main-icon {
    transform-origin: center;
}

@keyframes brainFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
.hero-section.visible .floating-element {
    opacity: 1;
}

/* Package Cards */
.package-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    background: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.package-header .price {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
}

.package-body {
    padding: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.package-footer {
    padding: 1rem 2rem 2rem;
}

/* Category Cards */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.category-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

/* Feature Items */
.feature-item {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

/* Exam Cards */
.exam-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

.exam-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.exam-category, .exam-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.exam-category {
    background: var(--light);
    color: var(--primary);
}

.exam-difficulty {
    background: var(--warning);
    color: white;
}

.exam-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* Duyurular Section */
.announcements-section {
    background: white;
    padding: 4rem 0;
}

.announcement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

.announcement-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.announcement-header {
    margin-bottom: 1rem;
}

.announcement-header h4, .announcement-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.announcement-date {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.announcement-content {
    padding: 0;
}

.announcement-content p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 400;
}

.announcement-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.announcement-details h6 {
    color: var(--primary);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.announcement-details ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.announcement-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.announcement-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Question solving layout */
.question-page {
    margin: 2rem 0;
}

.question-grid {
    gap: 1.5rem;
}

.question-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.question-card .card-body {
    padding: 2rem;
}

.question-card .question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.question-card .question-header h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.question-card .question-header .badge {
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.question-card .question-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.option-card {
    border: 1px solid #e4e8ed;
    border-radius: 12px;
    padding: 1rem;
    background: #f8f9fa;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.option-card input[type="radio"] {
    appearance: none;
    border: 2px solid #b5b9c3;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.option-card input[type="radio"]:checked::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2c3e50;
}

.option-card input[type="radio"]:checked + label {
    color: #2c3e50;
    font-weight: 600;
}

.option-card label {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.2s;
}

.option-card:hover {
    background: #e9f0ff;
    border-color: #2c3e50;
}

.option-card .option-letter {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5a5c69;
    margin-right: 0.5rem;
}

.option-card .option-text {
    flex: 1;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.option-card.is-active {
    border-color: #1cc88a;
    background: #eaf7f2;
}

.option-card.correct {
    border-color: #1cc88a;
    background: #e6f7ef;
}

.option-card.incorrect {
    border-color: #e74c3c;
    background: #fde7e5;
}

.feedback-panel {
    margin-top: 1rem;
}

.info-panel {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 2rem 1.5rem;
}

.info-panel .info-section + .info-section {
    margin-top: 1.5rem;
}

.info-panel .stat-card {
    background: #f5f5f9;
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.info-panel .stat-card span:last-child {
    font-size: 1.25rem;
}

.progress-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 8px solid #f1f3f6;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.progress-circle::after {
    content: attr(data-value) '%';
    position: absolute;
    font-size: 0.95rem;
}

.question-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.question-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d0d3d7;
    background: #fff;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.question-nav button.active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.question-nav button.completed {
    background: #1cc88a;
    color: #fff;
    border-color: #1cc88a;
}

.question-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.question-actions button {
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-soft {
    background: rgba(44, 62, 80, 0.08);
    color: #2c3e50;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

@media (max-width: 991px) {
    .info-panel {
        order: -1;
    }

    .question-card .card-body {
        padding: 1.6rem;
    }
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: all 0.3s ease-in-out;
}
.navbar-main {
    background-color: #0d6efd;
}
.navbar-main .navbar-brand,
.navbar-main .nav-link {
    color: #fff;
}
.navbar-main .nav-link.active,
.navbar-main .nav-link:hover,
.navbar-main .navbar-brand:hover {
    color: #e6eefc;
}

.navbar-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: none;
    min-width: 0;
    white-space: nowrap;
}

.navbar-user-name {
    display: inline-block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .navbar-collapse {
        flex-wrap: nowrap;
    }
    .navbar .navbar-nav {
        flex-wrap: nowrap;
        min-width: 0;
    }
}

@media (max-width: 991px) {
    .navbar-user {
        max-width: 100%;
    }
    .navbar-user-name {
        max-width: 100%;
    }
}

.dashboard-topics {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(33, 37, 41, 0.04));
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.dashboard-topics .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(13, 110, 253, 0.12);
}

.dashboard-topic-list {
    gap: 0.75rem;
}

.dashboard-topic-item {
    background: #222f45;
    border: 1px solid #32445f;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: #e6eefc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-topic-item:hover {
    background: #27354d;
    border-color: #3a4e6b;
}

.dashboard-topic-item .text-muted,
.dashboard-topic-item small {
    color: #a9b6d3 !important;
}

.dashboard-topic-item h6 {
    color: #f6f8ff;
    line-height: 1.25;
}

.dashboard-topic-main {
    flex: 1 1 auto;
    min-width: 0;
}

.dashboard-topic-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 0.5rem;
    flex: 0 0 auto;
}

.dashboard-topic-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.dashboard-topic-btn.disabled,
.dashboard-topic-btn:disabled {
    opacity: 0.55;
}

@media (max-width: 992px) {
    .dashboard-topic-item {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-topic-actions {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .dashboard-topic-actions {
        grid-template-columns: 1fr;
    }
}

.stats-card {
    background: #162338;
    border: 1px solid #253452;
    color: #e6eefc;
}

.stats-card .card-header {
    background: rgba(8, 15, 30, 0.6);
    border-bottom: 1px solid #253452;
    color: #f2f6ff;
}

.stats-card .text-muted {
    color: #a9b6d3 !important;
}

.stats-table thead th {
    color: #b9c6e4;
    border-color: #2a3a55;
    font-weight: 600;
}

.stats-table {
    color: #e6eefc;
    background-color: #111a2e;
}

.stats-table > :not(caption)>* > * {
    background-color: transparent;
    color: #e6eefc;
}

.stats-table tbody td {
    border-color: #2a3a55;
    color: #e6eefc;
}

.stats-table tbody tr {
    background: rgba(11, 18, 36, 0.5);
}

.stats-table tbody tr:nth-of-type(odd) {
    background: rgba(11, 18, 36, 0.65);
}

.stats-table tbody tr.table-primary {
    background: rgba(13, 110, 253, 0.2);
}

.stats-chart-placeholder {
    border: 1px dashed #2a3a55;
    border-radius: 14px;
    padding: 1.5rem;
    color: #a9b6d3;
    text-align: center;
    background: rgba(11, 18, 36, 0.6);
}

.stats-chart {
    background: rgba(11, 18, 36, 0.6);
    border: 1px solid #253452;
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.stats-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.stats-chart-line {
    fill: none;
    stroke: #4aa3ff;
    stroke-width: 2.5;
}

.stats-chart-dot {
    fill: #4aa3ff;
    stroke: #0b1224;
    stroke-width: 1.5;
}

.stats-chart-text {
    fill: #e6eefc;
    font-size: 11px;
    font-weight: 600;
}

.stats-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #b9c6e4;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.stats-goal-form .form-control,
.stats-goal-form .form-select {
    background: #0f1a2d;
    border: 1px solid #2a3a55;
    color: #e6eefc;
}

.stats-goal-form .form-control:focus,
.stats-goal-form .form-select:focus {
    border-color: #4aa3ff;
    box-shadow: 0 0 0 0.2rem rgba(74, 163, 255, 0.2);
}

.stats-goal-progress .progress {
    background: #0f1a2d;
    height: 10px;
}

.stats-goal-progress .progress-bar {
    background: linear-gradient(90deg, #4aa3ff, #38d9ff);
}

.profile-card {
    background: #162338;
    border: 1px solid #253452;
    color: #e6eefc;
    overflow: hidden;
}

.profile-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #253452;
    background: rgba(8, 15, 30, 0.6);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(74, 163, 255, 0.2);
}

.profile-avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-heading {
    flex: 1 1 220px;
    min-width: 0;
}

.profile-heading h4 {
    color: #f6f8ff;
    font-weight: 700;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-details {
    display: grid;
    gap: 0.75rem;
}

.profile-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(11, 18, 36, 0.6);
    border: 1px solid #253452;
    border-radius: 12px;
}

.profile-detail-label {
    color: #b9c6e4;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.profile-detail-value {
    color: #e6eefc;
    text-align: right;
}

@media (max-width: 575px) {
    .profile-detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-detail-value {
        text-align: left;
    }
}

.stats-empty {
    border: 1px dashed #2a3a55;
    border-radius: 12px;
    padding: 1.5rem;
}

.navbar.shrink {
    padding: 0.5rem 0;
}

.navbar.shrink .navbar-brand {
    font-size: 1.1rem;
}

.navbar.shrink .navbar-brand strong {
    font-size: 1.1rem;
}

body {
    padding-top: 0px; /* No fixed navbar */
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 90px 0 70px;
        text-align: center;
    }

    .hero-section .row.align-items-center {
        flex-direction: column-reverse;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }

    .hero-image {
        margin-top: 20px;
        justify-content: center;
        min-height: 260px;
    }

    .hero-illustration {
        height: 260px;
        min-height: 260px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 12px 0;
    }

    .hero-main-icon {
        font-size: 6rem;
    }

    .floating-element {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        opacity: 1;
        background: rgba(255, 255, 255, 0.95);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        padding: 1.25rem;
    }

    .hero-stats .stat-item:not(:last-child)::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
        overflow: visible;
    }

    .hero-illustration {
        min-height: 320px;
        height: 340px;
        max-width: 340px;
        margin-top: 12px;
        position: relative;
    }

    .hero-main-icon {
        width: 130px;
        height: 130px;
        position: relative;
        z-index: 3;
        animation: brainFloat 3.2s ease-in-out infinite, mobileGlow 6s ease-in-out infinite;
    }

    .hero-brain-icon {
        font-size: 6rem;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    .floating-element {
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
        background: rgba(255, 255, 255, 0.2);
        position: absolute;
        opacity: 0.85;
        z-index: 2;
        transform: translate(-50%, -50%);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }

    .element-1 { top: 22%; left: 25%; }
    .element-2 { top: 22%; left: 75%; }
    .element-3 { top: 78%; left: 25%; }
    .element-4 { top: 78%; left: 75%; }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-card, .category-card {
        margin-bottom: 2rem;
    }

    .announcement-header {
        padding: 1.5rem;
    }

    .announcement-content {
        padding: 1.5rem;
    }

    .announcement-details {
        padding: 1rem;
    }

}

@media (max-width: 576px) {
    .hero-section {
        padding: 70px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero-illustration {
        min-height: 260px;
        height: 280px;
        max-width: 300px;
        position: relative;
    }

    .hero-main-icon {
        width: 120px;
        height: 120px;
        position: relative;
        z-index: 3;
        animation: brainFloat 3.2s ease-in-out infinite, mobileGlow 6s ease-in-out infinite;
    }

    .hero-brain-icon {
        font-size: 5rem;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    .floating-element {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
        opacity: 0.85;
        background: rgba(255, 255, 255, 0.2);
        position: absolute;
        z-index: 2;
        transform: translate(-50%, -50%);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }

    .element-1 { top: 24%; left: 26%; }
    .element-2 { top: 24%; left: 74%; }
    .element-3 { top: 76%; left: 26%; }
    .element-4 { top: 76%; left: 74%; }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@keyframes mobileGlow {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(255,255,255,0.5));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
        transform: translateY(-6px);
    }
}
.navbar,
header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body::before {
    content: none !important;
    display: none !important;
}
