
/* =================================
   GALAKSI - MAIN STYLESHEET
================================= */

:root {
    --bg: #080e1c;
    --bg-soft: #0d1628;
    --surface: #111d31;
    --surface-light: #17253b;

    --primary: #3b82f6;
    --primary-light: #60a5fa;

    --text: #f1f5f9;
    --muted: #94a3b8;

    --border: rgba(148,163,184,0.13);

    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

section {
    position: relative;
}

/* NAVBAR */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,14,28,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-icon {
    width: 37px;
    height: 37px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#3b82f6,#1d4ed8);
    color: white;
    font-size: 21px;
}

.brand-dot {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    transition: .25s;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-contact {
    padding: 11px 17px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: .25s;
}

.nav-contact:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.nav-contact span {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px;
    transition: .25s;
}

/* HERO */

.hero {
    padding: 105px 0 120px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(37,99,235,.13);
    filter: blur(120px);
    border-radius: 50%;
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(59,130,246,.3);
    border-radius: 30px;
    color: var(--primary-light);
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero h1 {
    margin-top: 27px;
    font-size: clamp(38px,5vw,59px);
    line-height: 1.14;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.contact-box h2 span {
    color: var(--primary-light);
}

.hero-description {
    max-width: 510px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 30px rgba(59,130,246,.2);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-secondary:hover {
    background: var(--surface);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.note-line {
    width: 28px;
    height: 1px;
    background: var(--primary);
}

/* DASHBOARD PREVIEW */

.hero-preview {
    position: relative;
    padding: 15px;
    background: rgba(17,29,49,.7);
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.preview-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #0b1424;
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #475569;
}

.preview-live {
    color: #22c55e;
}

.preview-content {
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 290px;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    padding: 15px 5px;
    border-right: 1px solid var(--border);
}

.sidebar-logo {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    background: var(--primary);
    border-radius: 7px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sidebar-item {
    color: #64748b;
    font-size: 15px;
}

.sidebar-item.selected {
    color: var(--primary-light);
}

.preview-main {
    padding: 18px 15px;
    min-width: 0;
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-heading small {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 1px;
}

.preview-heading h3 {
    font-size: 17px;
    margin-top: 3px;
}

.preview-avatar {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #1d4ed8;
    font-size: 11px;
}

.preview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.mini-card {
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
}

.mini-card span,
.mini-card small {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.mini-card strong {
    display: block;
    margin: 5px 0;
    font-size: 22px;
}

.preview-chart {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

.chart-heading span {
    color: var(--muted);
}

.chart-bars {
    height: 85px;
    display: flex;
    align-items: end;
    gap: 9px;
    margin-top: 15px;
}

.chart-bars span {
    flex: 1;
    background: linear-gradient(to top,#1d4ed8,#60a5fa);
    border-radius: 4px 4px 0 0;
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    font-size: 8px;
    color: var(--muted);
}

.floating-card {
    position: absolute;
    bottom: -22px;
    left: -35px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #14243c;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: rgba(34,197,94,.15);
    color: #4ade80;
    border-radius: 8px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 10px;
}

.floating-card small {
    color: var(--muted);
    font-size: 9px;
}

/* STATISTICS */

.statistics {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(17,29,49,.35);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border: none;
}

.stat-item strong {
    font-size: 22px;
    color: var(--primary-light);
}

.stat-item span {
    font-size: 10px;
    color: var(--muted);
}

/* GENERAL SECTIONS */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-label {
    color: var(--primary-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.contact-box h2 {
    margin-top: 14px;
    font-size: clamp(29px,4vw,43px);
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.section-heading p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.about-main {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(140deg,#142b4d,#0d1729);
}

.about-number {
    color: var(--primary-light);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.about-symbol {
    margin-top: 45px;
    font-size: 35px;
    color: #60a5fa;
}

.about-main h3 {
    margin-top: 10px;
    font-size: 25px;
}

.about-main p {
    max-width: 430px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-small-card {
    flex: 1;
    padding: 27px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 13px;
}

.small-icon {
    color: var(--primary-light);
    font-size: 25px;
}

.about-small-card h3 {
    margin-top: 10px;
    font-size: 17px;
}

.about-small-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

/* FEATURES */

.features {
    background: #0b1424;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 17px;
}

.feature-card {
    position: relative;
    padding: 27px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,.5);
    background: #101d32;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: rgba(59,130,246,.13);
    color: var(--primary-light);
    border-radius: 10px;
    font-size: 21px;
}

.feature-number {
    position: absolute;
    top: 27px;
    right: 27px;
    color: #475569;
    font-size: 11px;
}

.feature-card h3 {
    margin-top: 23px;
    font-size: 17px;
}

.feature-card p {
    margin-top: 8px;
    min-height: 48px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.feature-status {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-light);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ACTIVITIES & NEWS */

.heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.coming-soon {
    padding: 8px 12px;
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 30px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 65px 20px;
    border: 1px dashed rgba(148,163,184,.25);
    border-radius: 13px;
}

.empty-icon {
    font-size: 35px;
    color: var(--primary-light);
}

.empty-state h3 {
    margin-top: 17px;
    font-size: 18px;
}

.empty-state p {
    max-width: 400px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.news {
    background: #0b1424;
}

.news-placeholder {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.news-placeholder-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: rgba(59,130,246,.15);
    color: var(--primary-light);
    border-radius: 12px;
    font-size: 25px;
}

.news-placeholder h3 {
    font-size: 17px;
}

.news-placeholder p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

/* CONTACT */

.contact-box {
    position: relative;
    overflow: hidden;
    padding: 65px 35px;
    text-align: center;
    border: 1px solid rgba(59,130,246,.3);
    border-radius: 17px;
    background: linear-gradient(130deg,#142d50,#101c32);
}

.contact-box h2 {
    position: relative;
    z-index: 2;
}

.contact-box p {
    position: relative;
    z-index: 2;
    margin: 15px auto 25px;
    max-width: 450px;
    color: var(--muted);
    font-size: 13px;
}

.contact-box .btn {
    position: relative;
    z-index: 2;
}

.contact-decoration {
    position: absolute;
    right: 20px;
    bottom: -115px;
    color: rgba(96,165,250,.07);
    font-size: 300px;
    font-weight: 800;
}

/* FOOTER */

.footer {
    padding: 55px 0 20px;
    background: #060b15;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links strong {
    margin-bottom: 5px;
    font-size: 12px;
}

.footer-links a {
    color: var(--muted);
    font-size: 11px;
    transition: .2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #64748b;
    font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-preview {
        max-width: 550px;
        width: 100%;
        margin: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-side {
        flex-direction: row;
    }

}

@media (max-width: 650px) {

    .container {
        width: calc(100% - 32px);
    }

    .navbar {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
        z-index: 10;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 16px 20px;
        background: #0b1424;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
    }

    .nav-contact {
        margin-top: 13px;
        text-align: center;
    }

    .hero {
        padding: 75px 0 90px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-preview {
        padding: 8px;
    }

    .floating-card {
        left: 8px;
        bottom: -28px;
        padding: 10px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 23px 0;
    }

    .stat-item:nth-child(2) {
        border: none;
    }

    .stat-item strong {
        font-size: 19px;
    }

    .stat-item span {
        font-size: 9px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 33px;
    }

    .section-heading h2,
    .contact-box h2 {
        font-size: 31px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        padding: 27px;
    }

    .about-main h3 {
        font-size: 21px;
    }

    .about-side {
        flex-direction: column;
    }

    .heading-row {
        align-items: start;
        flex-direction: column;
    }

    .news-placeholder {
        align-items: flex-start;
        padding: 20px;
    }

    .contact-box {
        padding: 55px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 35px;
    }

    .footer-links {
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        font-size: 9px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =================================
   GALAKSI AUTHENTICATION
================================= */

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top right,
            rgba(37,99,235,.15),
            transparent 40%
        ),
        var(--bg);
}

.auth-wrapper {
    width: min(430px, calc(100% - 32px));
    margin: auto;
    padding: 45px 0;
}

.auth-brand {
    justify-content: center;
    margin-bottom: 30px;
}

.auth-card {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

.auth-heading h1 {
    margin-top: 12px;
    font-size: 27px;
}

.auth-heading p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 25px 0;
    padding: 5px;
    background: var(--bg);
    border-radius: 9px;
}

.auth-tab {
    padding: 10px;
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
}

.auth-tab.active {
    background: var(--primary);
    color: white;
}

.auth-card form label {
    display: block;
    margin: 15px 0 7px;
    font-size: 11px;
    font-weight: 600;
}

.auth-card form input {
    width: 100%;
    padding: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    color: white;
    font: inherit;
    font-size: 12px;
}

.auth-card form input:focus {
    border-color: var(--primary);
}

.auth-card form input::placeholder {
    color: #64748b;
}

.auth-submit {
    width: 100%;
    margin-top: 24px;
    border: none;
    cursor: pointer;
}

.auth-message {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.7;
}

.auth-message.success {
    color: #4ade80;
}

.auth-message.error {
    color: #f87171;
}

.auth-back {
    display: block;
    margin-top: 25px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}

.auth-copyright {
    margin-top: 25px;
    text-align: center;
    color: #64748b;
    font-size: 10px;
}
