:root {
    --bg: #050814;
    --bg-2: #08111f;
    --panel: rgba(15, 28, 47, .76);
    --text: #eef6ff;
    --muted: #9db0c6;
    --red: #ef2552;
    --cyan: #2dd6ff;
    --green: #19e08a;
    --line: rgba(255, 255, 255, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Segoe UI", system-ui, sans-serif;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.glass-nav {
    background: rgba(5, 8, 20, .78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.navbar-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.navbar-brand span { color: var(--text); font-weight: 800; letter-spacing: .2px; }
.navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 600;
    transition: color .2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cyan) !important;
}
.navbar-collapse {
    background: transparent;
}
.navbar-toggler {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
}
.navbar-toggler-icon {
    filter: none;
}
.btn-cid {

    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--red), #9b5cff 55%, var(--cyan));
    box-shadow: 0 12px 32px rgba(45, 214, 255, .18);
    font-weight: 800;
}
.btn-cid:hover { color: #fff; transform: translateY(-2px); }

.hero-section {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 20%, rgba(239, 37, 82, .24), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(45, 214, 255, .25), transparent 26%),
        linear-gradient(135deg, #03040c, #0b1830 50%, #03040c);
    overflow: hidden;
}
.hero-image-section {
    background-image:
        linear-gradient(90deg, rgba(3, 4, 12, .96) 0%, rgba(3, 4, 12, .78) 42%, rgba(3, 4, 12, .38) 100%),
        url("../images/generated-1.png");
    background-size: cover;
    background-position: center;
}
.main-hero-section {
    background-image:
        linear-gradient(90deg, rgba(3, 4, 12, .94) 0%, rgba(3, 4, 12, .72) 44%, rgba(3, 4, 12, .36) 100%),
        url("../images/generated-1.png");
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(239, 37, 82, .25), transparent 25%),
        radial-gradient(circle at 75% 15%, rgba(45, 214, 255, .22), transparent 28%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle, #000, transparent 72%);
    animation: drift 18s linear infinite;
}
@keyframes drift { to { transform: translateY(58px); } }
.eyebrow, .section-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: .78rem;
    margin-bottom: 16px;
}
.hero-section h1 {
    font-size: clamp(3.2rem, 8vw, 7.4rem);
    line-height: .9;
    font-weight: 950;
    margin: 0 0 22px;
}
.lead { color: #c9d8ea; max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: #d8f7ff;
    font-weight: 750;
    font-size: .88rem;
}
.hero-console {
    display: grid;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(5, 12, 25, .68);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}
.hero-console img {
    width: min(260px, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
    animation: float 5s ease-in-out infinite;
}
.hero-console small { color: var(--green); font-weight: 800; text-transform: uppercase; }
.hero-console strong { display: block; margin: 6px 0; font-size: 1.4rem; }
.hero-console p { color: var(--muted); margin: 0; }
.academy-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(5, 12, 25, .72);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
    text-align: center;
}
.academy-panel img {
    width: min(230px, 70vw);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: float 5s ease-in-out infinite;
}
.academy-panel h2 { font-weight: 900; }
.academy-panel p { color: var(--muted); margin: 0; }
.orbit-card {
    position: relative;
    width: min(420px, 88vw);
    aspect-ratio: 1;
    margin: auto;
    display: grid;
    place-items: center;
}
.orbit-card img {
    width: 78%;
    height: 78%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .2);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
    animation: float 5s ease-in-out infinite;
}
.pulse-ring {
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(45, 214, 255, .5);
    border-radius: 50%;
    animation: spin 14s linear infinite;
}
.pulse-ring::before, .pulse-ring::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    top: 18%;
    left: 4%;
}
.pulse-ring::after { background: var(--green); inset: auto 8% 13% auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.stats-band { padding: 26px 0; background: #07101d; border-block: 1px solid var(--line); }
.stat { padding: 18px; border-right: 1px solid var(--line); }
.stat strong { display: block; color: var(--cyan); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
.stat span { color: var(--muted); font-weight: 700; }
.section-pad { padding: 100px 0; }
.alt-section { background: linear-gradient(180deg, #07101d, #091528); }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-title { font-weight: 900; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: 0; }
.profile-panel, .feature-card, .project-card, .course-card, .testimonial-card, .contact-form, .video-card, .admin-card, .dash-card, .software-card, .mini-card, .blog-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}
.profile-panel { padding: 34px; border-radius: 8px; text-align: center; }
.profile-panel img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; }
.profile-panel h2, .feature-card h3, .project-card h3, .course-card h3 { font-weight: 850; }
.profile-panel p, .feature-card p, .project-card p, .course-card p, .testimonial-card p, .video-card p, .software-card p, .mini-card p, .blog-card p { color: var(--muted); }
.image-panel { position: relative; overflow: hidden; }
.image-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 214, 255, .11), transparent);
    pointer-events: none;
}
.skill-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.skill-cloud span {
    padding: 10px 14px;
    border: 1px solid rgba(45, 214, 255, .28);
    border-radius: 999px;
    color: #d8f7ff;
    background: rgba(45, 214, 255, .08);
    font-weight: 700;
}
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.academy-card {
    min-height: 100%;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}
.academy-card i {
    color: var(--cyan);
    font-size: 2rem;
    margin-bottom: 18px;
}
.academy-card h3 { font-weight: 900; }
.academy-card p { color: var(--muted); margin: 0; }
.feature-card, .course-card, .testimonial-card, .video-card, .software-card, .mini-card, .blog-card { min-height: 100%; padding: 28px; border-radius: 8px; transition: .25s ease; }
.feature-card:hover, .project-card:hover, .course-card:hover, .video-card:hover, .software-card:hover, .mini-card:hover, .blog-card:hover { transform: translateY(-8px); border-color: rgba(45, 214, 255, .46); }
.feature-card i, .course-card i { color: var(--cyan); font-size: 2.2rem; margin-bottom: 18px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.filter-bar button {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 750;
}
.filter-bar button.active { background: var(--red); border-color: var(--red); }
.project-card { min-height: 100%; padding: 28px; border-radius: 8px; display: flex; flex-direction: column; gap: 12px; }
.compact-card { padding: 22px; }
.project-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--cyan));
    font-size: 1.5rem;
}
.project-card span { color: var(--green); font-weight: 800; font-size: .82rem; }
.project-card small { color: #c4d4e6; font-weight: 700; }
.project-card a { color: var(--cyan); font-weight: 850; margin-top: auto; }
.software-card { display: flex; flex-direction: column; gap: 14px; }
.software-top { display: flex; gap: 16px; align-items: center; }
.software-top span { color: var(--green); font-weight: 850; font-size: .82rem; }
.software-top h2, .software-top h3 { margin: 0; font-weight: 900; }
.software-card ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #d8e7f6; }
.software-card small { color: var(--cyan); font-weight: 800; }
.visual-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(45, 214, 255, .2), transparent 28%),
        linear-gradient(180deg, #050814, #081528);
}
.section-visual {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.mini-card i, .blog-card i { color: var(--cyan); font-size: 1.6rem; margin-bottom: 12px; }
.mini-card strong { display: block; margin-bottom: 8px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; }
.blog-card span { color: var(--green); font-weight: 800; font-size: .82rem; }
.blog-card h2, .blog-card h3 { font-weight: 900; margin: 0; }
.blog-card a { color: var(--cyan); font-weight: 850; margin-top: auto; }
.course-card div { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.course-card div span { padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #d8e7f6; font-size: .82rem; }
.video-card { display: block; position: relative; overflow: hidden; }
.video-card span { color: var(--red); font-weight: 850; }
.video-card i { position: absolute; right: 24px; bottom: 24px; color: var(--cyan); font-size: 2rem; }
.testimonial-card span { display: block; color: var(--cyan); }
.cid-accordion { display: grid; gap: 12px; }
.cid-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}
.cid-accordion .accordion-button {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
    font-weight: 850;
}
.cid-accordion .accordion-button:focus { box-shadow: none; }
.cid-accordion .accordion-button:not(.collapsed) { color: var(--cyan); background: rgba(45, 214, 255, .08); }
.cid-accordion .accordion-body { color: var(--muted); }
.contact-list { display: grid; gap: 14px; }
.contact-list a {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: #dbeaff;
    font-weight: 700;
}
.contact-list i { color: var(--cyan); width: 26px; }
.contact-form { padding: 28px; border-radius: 8px; }
.form-control {
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}
.form-control:focus { background: rgba(255, 255, 255, .1); color: #fff; border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(45, 214, 255, .15); }
.form-control::placeholder { color: #8fa3bb; }
.site-footer { padding: 70px 0 24px; color: var(--muted); background: #030711; border-top: 1px solid var(--line); }
.site-footer h3 { color: var(--text); font-size: 1rem; font-weight: 900; margin-bottom: 14px; }
.site-footer a { display: block; color: var(--muted); margin-bottom: 9px; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.footer-brand strong { color: var(--text); display: block; }
.footer-brand p { margin: 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--cyan); font-size: 1.2rem; display: inline-flex; }

.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 1050; }
.chat-toggle {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--cyan));
    box-shadow: 0 14px 38px rgba(0, 0, 0, .35);
}
.chat-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(360px, calc(100vw - 32px));
    display: none;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 12, 25, .96);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}
.chat-widget.open .chat-panel { display: block; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head button { color: #fff; background: transparent; border: 0; font-size: 1.6rem; line-height: 1; }
.chat-messages { max-height: 260px; overflow: auto; display: grid; gap: 10px; padding: 14px; }
.chat-messages div { padding: 10px 12px; border-radius: 8px; color: #dcecff; background: rgba(255, 255, 255, .07); }
.chat-messages .user { background: rgba(45, 214, 255, .18); justify-self: end; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; padding: 10px; }
.chat-form button { width: 44px; border: 0; border-radius: 8px; color: #fff; background: var(--red); }

.inner-page {
    min-height: 100vh;
    padding: 130px 0 80px;
    background:
        radial-gradient(circle at 15% 10%, rgba(45, 214, 255, .18), transparent 24%),
        linear-gradient(180deg, #050814, #081528);
}
.narrow { max-width: 900px; }
.article-body {
    margin: 34px 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: #d7e6f8;
    font-size: 1.08rem;
    line-height: 1.8;
}

.admin-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #10203a, #030711); }
.admin-card { width: min(420px, 100%); padding: 32px; border-radius: 8px; display: grid; gap: 16px; text-align: center; }
.admin-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: auto; }
.back-link { color: var(--cyan); }
.dashboard { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #050814; }
.dashboard aside { padding: 28px; background: #07101d; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; }
.dashboard aside a { display: block; padding: 12px 0; color: var(--muted); font-weight: 750; }
.dashboard aside a:hover { color: var(--cyan); }
.dashboard section { padding: 34px; min-width: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0 34px; }
.dash-card { padding: 22px; border-radius: 8px; }
.dash-card strong { display: block; color: var(--cyan); font-size: 2.4rem; }
.admin-table { border-radius: 8px; border: 1px solid var(--line); }
.admin-title-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 24px; }
.admin-edit-form { max-width: 820px; display: grid; gap: 12px; }
.admin-edit-form label { color: var(--cyan); font-weight: 800; margin-top: 8px; }

@media (max-width: 991px) {
    .section-pad { padding: 72px 0; }
    .navbar-collapse { padding: 16px; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(5, 8, 20, .96); }
    .navbar-nav .nav-item + .nav-item { margin-left: 0; }
    .hero-image-section { background-position: 62% center; }
    .academy-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .dashboard { grid-template-columns: 1fr; }
    .dashboard aside { position: static; height: auto; }
}
@media (max-width: 575px) {
    .hero-section h1 { font-size: 3.4rem; }
    .hero-actions .btn { width: 100%; }
    .hero-console { padding: 20px; }
    .software-top { align-items: flex-start; }
    .stat { border-right: 0; }
    .section-title { font-size: 2rem; }
    .contact-form, .software-card, .blog-card, .feature-card, .course-card, .testimonial-card { padding: 22px; }
    .dashboard section { padding: 22px; }
    .admin-title-row { align-items: flex-start; flex-direction: column; }
}
