:root {
    --bg: #050b14;
    --bg-soft: #081321;
    --panel: rgba(11, 25, 42, 0.82);
    --panel-solid: #0c1c2f;
    --panel-light: #10253d;

    --border: rgba(148, 163, 184, 0.13);

    --text: #edf7ff;
    --muted: #8fa4ba;

    --cyan: #22d3ee;
    --blue: #3b82f6;
    --green: #22c55e;
    --purple: #a78bfa;
    --orange: #fb923c;
    --yellow: #facc15;
    --danger: #fb7185;

    --sidebar-width: 250px;

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius: 20px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(34, 211, 238, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.08),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    line-height: 1.6;
}


button,
input,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


::selection {
    background: rgba(34, 211, 238, 0.25);
}


.app-shell {
    min-height: 100vh;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    padding: 26px 18px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 22, 38, 0.98),
            rgba(5, 14, 25, 0.98)
        );

    border-right: 1px solid var(--border);

    z-index: 1000;

    display: flex;
    flex-direction: column;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 8px 25px;

    border-bottom: 1px solid var(--border);
}


.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(34, 211, 238, 0.2),
            rgba(59, 130, 246, 0.2)
        );

    color: var(--cyan);

    font-size: 22px;

    border: 1px solid rgba(34, 211, 238, 0.18);
}


.brand strong {
    display: block;

    font-size: 15px;
    letter-spacing: 0.3px;
}


.brand span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 1px;
}


.sidebar-status {
    margin: 20px 8px;

    font-size: 9px;

    letter-spacing: 1.4px;

    color: var(--muted);

    display: flex;
    align-items: center;
    gap: 8px;
}


.status-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px rgba(34, 197, 94, 0.7);
}


.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 13px;

    color: var(--muted);

    border-radius: 12px;

    font-size: 13px;

    transition:
        0.2s ease,
        transform 0.2s ease;
}


.nav-link span {
    width: 18px;

    text-align: center;

    color: #70869c;
}


.nav-link:hover {
    color: var(--text);

    background: rgba(255, 255, 255, 0.04);

    transform: translateX(2px);
}


.nav-link.active {
    color: var(--cyan);

    background:
        linear-gradient(
            90deg,
            rgba(34, 211, 238, 0.13),
            rgba(34, 211, 238, 0.025)
        );

    border: 1px solid rgba(34, 211, 238, 0.1);
}


.nav-link.active span {
    color: var(--cyan);
}


.sidebar-footer {
    margin-top: auto;

    padding: 15px 8px 0;

    border-top: 1px solid var(--border);
}


.mini-station {
    display: flex;
    gap: 10px;
    align-items: center;
}


.mini-station strong {
    display: block;

    font-size: 11px;
}


.mini-station small {
    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 2px;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

.mobile-header {
    display: none;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 64px;

    padding: 0 16px;

    background: rgba(5, 14, 25, 0.94);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

    z-index: 1100;

    align-items: center;
    justify-content: space-between;
}


.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 700;

    font-size: 13px;
}


.mobile-brand .brand-mark {
    width: 32px;
    height: 32px;

    font-size: 17px;
}


.icon-button {
    width: 38px;
    height: 38px;

    border-radius: 11px;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.035);

    color: var(--text);

    display: grid;
    place-items: center;

    transition: 0.2s ease;
}


.icon-button:hover {
    border-color: rgba(34, 211, 238, 0.3);

    color: var(--cyan);

    transform: translateY(-1px);
}


.icon-button.large {
    width: 46px;
    height: 46px;
}


/* =========================================================
   MAIN
========================================================= */

.main-content {
    margin-left: var(--sidebar-width);

    padding: 40px 42px 0;

    max-width: 1700px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 470px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 60px;

    margin-bottom: 24px;

    border: 1px solid var(--border);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(34, 211, 238, 0.13),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            rgba(12, 33, 55, 0.96),
            rgba(5, 15, 27, 0.98)
        );

    box-shadow: var(--shadow);
}


.hero-content {
    width: 60%;

    position: relative;

    z-index: 5;
}


.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--cyan);

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;

    margin-bottom: 20px;
}


.eyebrow span {
    width: 28px;
    height: 1px;

    background: var(--cyan);
}


.hero-content h1 {
    max-width: 780px;

    font-size: clamp(38px, 5vw, 70px);

    line-height: 1.02;

    letter-spacing: -3px;

    margin-bottom: 20px;
}


.hero-content h1 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            #7dd3fc,
            #a78bfa
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.hero-content p {
    max-width: 620px;

    color: var(--muted);

    font-size: 15px;

    margin-bottom: 28px;
}


.hero-actions {
    display: flex;
    gap: 12px;

    flex-wrap: wrap;
}


/* HERO ATMOSPHERE */

.hero-atmosphere {
    position: absolute;

    right: 3%;
    top: 50%;

    width: 390px;
    height: 390px;

    transform: translateY(-50%);
}


.orbit {
    position: absolute;

    inset: 0;

    border: 1px solid rgba(34, 211, 238, 0.14);

    border-radius: 50%;

    animation: spin 20s linear infinite;
}


.orbit-two {
    inset: 45px;

    border-color: rgba(59, 130, 246, 0.17);

    animation-duration: 15s;

    animation-direction: reverse;
}


.orbit-three {
    inset: 90px;

    border-color: rgba(167, 139, 250, 0.18);

    animation-duration: 11s;
}


.atmosphere-core {
    position: absolute;

    inset: 120px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(34, 211, 238, 0.2),
            rgba(34, 211, 238, 0.025) 70%
        );

    border: 1px solid rgba(34, 211, 238, 0.2);

    box-shadow:
        0 0 70px rgba(34, 211, 238, 0.1);
}


.atmosphere-core span {
    font-size: 55px;

    margin-bottom: 6px;
}


.atmosphere-core small {
    color: var(--cyan);

    font-size: 9px;

    letter-spacing: 2px;
}


@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.secondary-button {
    min-height: 46px;

    padding: 0 18px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 700;

    transition: 0.2s ease;
}


.primary-button {
    border: 1px solid rgba(34, 211, 238, 0.35);

    color: #031018;

    background:
        linear-gradient(
            135deg,
            #67e8f9,
            var(--cyan)
        );

    box-shadow:
        0 10px 30px rgba(34, 211, 238, 0.12);
}


.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(34, 211, 238, 0.2);
}


.secondary-button {
    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.035);

    color: var(--text);
}


.secondary-button:hover {
    border-color: rgba(34, 211, 238, 0.25);

    color: var(--cyan);

    transform: translateY(-1px);
}


.primary-button.full {
    width: 100%;
}


/* =========================================================
   SECTIONS
========================================================= */

.page-section {
    margin: 90px 0;

    scroll-margin-top: 30px;
}


.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 26px;
}


.section-label {
    display: block;

    color: var(--cyan);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}


.section-heading h2 {
    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -1px;
}


.section-heading p {
    color: var(--muted);

    font-size: 13px;

    margin-top: 7px;
}


.data-source,
.chart-live {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================================================
   STATS
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin-bottom: 40px;
}


.stat-card {
    min-height: 110px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--panel);

    backdrop-filter: blur(18px);

    display: flex;

    align-items: center;

    gap: 15px;

    position: relative;

    overflow: hidden;
}


.stat-card::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    bottom: -55px;

    border-radius: 50%;

    opacity: 0.1;
}


.stat-card.cyan::after {
    background: var(--cyan);
}


.stat-card.blue::after {
    background: var(--blue);
}


.stat-card.purple::after {
    background: var(--purple);
}


.stat-card.green::after {
    background: var(--green);
}


.stat-icon {
    width: 45px;
    height: 45px;

    border-radius: 13px;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, 0.045);

    font-size: 20px;
}


.stat-card span {
    display: block;

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.stat-card strong {
    display: block;

    margin-top: 4px;

    font-size: 22px;
}


/* =========================================================
   LOCATION
========================================================= */

.location-bar {
    display: flex;

    gap: 10px;

    align-items: center;

    margin-bottom: 10px;
}


.search-box {
    flex: 1;

    height: 46px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 14px;

    border-radius: 12px;

    background: var(--panel);

    border: 1px solid var(--border);
}


.search-box span {
    color: var(--muted);

    font-size: 20px;
}


.search-box input {
    width: 100%;

    border: 0;

    outline: none;

    background: transparent;

    color: var(--text);

    font-size: 13px;
}


.station-status {
    min-height: 26px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 10px;
}


.station-status.error {
    color: var(--danger);
}


.station-status.loading {
    color: var(--cyan);
}


/* =========================================================
   META
========================================================= */

.station-meta-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 10px;

    margin: 14px 0;
}


.meta-card {
    padding: 15px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border);
}


.meta-card span {
    display: block;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.meta-card strong {
    display: block;

    margin-top: 5px;

    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   CURRENT WEATHER
========================================================= */

.current-weather-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.glass-card,
.weather-metric-card {
    border: 1px solid var(--border);

    background: var(--panel);

    border-radius: var(--radius);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}


.current-main {
    grid-column: span 2;

    min-height: 170px;

    padding: 26px;

    display: flex;

    align-items: center;

    gap: 22px;
}


.weather-icon-large {
    width: 105px;
    height: 105px;

    display: grid;
    place-items: center;

    border-radius: 26px;

    background:
        radial-gradient(
            circle,
            rgba(34, 211, 238, 0.14),
            transparent 70%
        );

    font-size: 54px;
}


.current-main-info span {
    display: block;

    color: var(--muted);

    font-size: 12px;
}


.current-main-info strong {
    display: block;

    font-size: 55px;

    line-height: 1;

    letter-spacing: -3px;

    margin: 6px 0;
}


.current-main-info small {
    color: var(--muted);

    font-size: 10px;
}


.weather-metric-card {
    min-height: 120px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.weather-metric-card span {
    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.weather-metric-card strong {
    font-size: 21px;

    margin-top: 5px;
}


/* =========================================================
   CHART
========================================================= */

.chart-card {
    padding: 24px;

    border: 1px solid var(--border);

    background: var(--panel);

    border-radius: var(--radius);
}


.chart-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}


.chart-header span:first-child {
    display: block;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1.5px;
}


.chart-header h3 {
    font-size: 20px;

    margin-top: 4px;
}


.chart-wrapper {
    height: 340px;
}


.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}


/* =========================================================
   ANALYTICS
========================================================= */

.analytics-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-top: 14px;
}


.analytics-card {
    padding: 18px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border);

    border-radius: 15px;
}


.analytics-card span {
    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;
}


.analytics-card strong {
    display: block;

    font-size: 19px;

    margin-top: 4px;
}


.select-control,
.formula-controls select {
    min-height: 44px;

    padding: 0 14px;

    border-radius: 11px;

    border: 1px solid var(--border);

    background: var(--panel);

    color: var(--text);

    outline: none;
}


.subsection-heading {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 35px 0 15px;
}


.subsection-heading h3 {
    font-size: 18px;
}


.subsection-heading span {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   HOURLY
========================================================= */

.hourly-grid {
    display: grid;

    grid-template-columns:
        repeat(12, minmax(110px, 1fr));

    gap: 9px;

    overflow-x: auto;

    padding-bottom: 6px;
}


.hour-card {
    min-width: 110px;

    padding: 15px 10px;

    text-align: center;

    border: 1px solid var(--border);

    background: var(--panel);

    border-radius: 14px;
}


.hour-card span {
    display: block;

    color: var(--muted);

    font-size: 9px;
}


.hour-card .hour-icon {
    font-size: 25px;

    margin: 8px 0;
}


.hour-card strong {
    display: block;

    font-size: 17px;
}


.hour-card small {
    color: var(--muted);

    font-size: 9px;
}


.loading-card {
    grid-column: 1 / -1;

    padding: 30px;

    text-align: center;

    color: var(--muted);

    border: 1px dashed var(--border);

    border-radius: 14px;
}


/* =========================================================
   DAILY
========================================================= */

.daily-grid {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 10px;
}


.daily-card {
    padding: 17px 12px;

    text-align: center;

    border: 1px solid var(--border);

    background: var(--panel);

    border-radius: 15px;
}


.daily-card span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


.daily-card .daily-icon {
    font-size: 27px;

    margin: 8px 0;
}


.daily-temp {
    font-size: 17px;
}


.daily-temp b {
    color: var(--text);
}


.daily-temp small {
    color: var(--muted);
}


/* =========================================================
   TOOLS
========================================================= */

.tool-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 13px;
}


.tool-card {
    position: relative;

    min-height: 230px;

    padding: 23px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(14, 33, 53, 0.92),
            rgba(8, 20, 34, 0.92)
        );

    border-radius: 19px;

    overflow: hidden;

    transition: 0.25s ease;
}


.tool-card:hover {
    transform: translateY(-5px);

    border-color: rgba(34, 211, 238, 0.25);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2);
}


.tool-number {
    position: absolute;

    top: 17px;
    right: 17px;

    color: rgba(255, 255, 255, 0.2);

    font-size: 10px;
}


.tool-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: rgba(34, 211, 238, 0.08);

    font-size: 22px;

    margin-bottom: 25px;
}


.tool-card h3 {
    font-size: 17px;

    margin-bottom: 7px;
}


.tool-card p {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;
}


.tool-link {
    position: absolute;

    left: 23px;
    bottom: 20px;

    color: var(--cyan);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   DISCIPLINES
========================================================= */

.discipline-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}


.discipline-card {
    padding: 22px;

    min-height: 150px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: rgba(255, 255, 255, 0.025);
}


.discipline-card > span {
    color: var(--cyan);

    font-size: 10px;
}


.discipline-card h3 {
    font-size: 17px;

    margin: 10px 0 6px;
}


.discipline-card p {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   CALCULATOR
========================================================= */

.calculator-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


.calculator-card,
.result-card {
    padding: 28px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background: var(--panel);
}


.calculator-card label {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-bottom: 7px;

    margin-top: 15px;
}


.calculator-card label:first-child {
    margin-top: 0;
}


.calculator-card input,
.observation-form input,
.metar-input input,
.formula-controls input {
    width: 100%;

    min-height: 46px;

    padding: 0 13px;

    border-radius: 11px;

    border: 1px solid var(--border);

    background: rgba(0, 0, 0, 0.15);

    color: var(--text);

    outline: none;
}


.calculator-card input:focus,
.observation-form input:focus,
.metar-input input:focus,
.formula-controls input:focus,
.search-box:focus-within {
    border-color: rgba(34, 211, 238, 0.35);

    box-shadow:
        0 0 0 3px rgba(34, 211, 238, 0.05);
}


.calculator-card button {
    margin-top: 20px;
}


.result-card {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(34, 211, 238, 0.08),
            transparent 65%
        ),
        var(--panel);
}


.result-card > span {
    color: var(--cyan);

    font-size: 10px;

    letter-spacing: 2px;
}


.result-card strong {
    font-size: 55px;

    line-height: 1;

    margin: 12px 0;
}


.result-card p {
    max-width: 400px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   OBSERVATION
========================================================= */

.observation-form {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    padding: 20px;

    border: 1px solid var(--border);

    background: var(--panel);

    border-radius: 20px;

    margin-bottom: 20px;
}


.observation-form label {
    display: block;

    color: var(--muted);

    font-size: 10px;

    margin-bottom: 6px;
}


.observation-form button {
    align-self: end;
}


.table-wrapper {
    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--panel);
}


table {
    width: 100%;

    min-width: 900px;

    border-collapse: collapse;
}


th,
td {
    padding: 13px 14px;

    text-align: left;

    border-bottom: 1px solid var(--border);

    font-size: 11px;
}


th {
    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


td {
    color: #d7e5f0;
}


tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}


/* =========================================================
   METAR
========================================================= */

.metar-input {
    display: flex;

    gap: 10px;

    margin-bottom: 15px;
}


.metar-input input {
    flex: 1;
}


.metar-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.metar-card {
    min-height: 125px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--panel);
}


.metar-card span {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.metar-card strong {
    display: block;

    font-size: 20px;

    margin-top: 8px;

    word-break: break-word;
}


.metar-note {
    grid-column: 1 / -1;

    padding: 15px;

    color: var(--muted);

    border: 1px dashed var(--border);

    border-radius: 13px;

    font-size: 10px;
}


/* =========================================================
   CLOUD LAB
========================================================= */

.cloud-result {
    min-height: 260px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: var(--panel);
}


.empty-state {
    min-height: 200px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.empty-state span {
    font-size: 55px;

    margin-bottom: 10px;
}


.empty-state h3 {
    font-size: 18px;
}


.empty-state p {
    color: var(--muted);

    font-size: 11px;
}


.cloud-detail {
    display: grid;

    grid-template-columns: 140px 1fr;

    gap: 25px;

    align-items: center;
}


.cloud-symbol {
    width: 140px;
    height: 140px;

    display: grid;
    place-items: center;

    border-radius: 25px;

    background:
        radial-gradient(
            circle,
            rgba(34, 211, 238, 0.13),
            transparent 70%
        );

    font-size: 65px;
}


.cloud-detail h3 {
    font-size: 30px;
}


.cloud-detail p {
    color: var(--muted);

    font-size: 12px;

    margin: 6px 0 14px;
}


.cloud-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.cloud-tags span {
    padding: 6px 9px;

    border-radius: 8px;

    background: rgba(34, 211, 238, 0.07);

    color: var(--cyan);

    font-size: 9px;
}


.quiz-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 55px;

    margin-bottom: 14px;
}


.quiz-header h3 {
    font-size: 21px;
}


.quiz-score {
    color: var(--muted);

    font-size: 11px;
}


.quiz-score strong {
    color: var(--cyan);

    font-size: 20px;
}


.quiz-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: var(--panel);
}


.quiz-question {
    font-size: 17px;

    margin-bottom: 20px;
}


.quiz-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.quiz-options button {
    min-height: 52px;

    padding: 10px 14px;

    text-align: left;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.025);

    color: var(--text);

    border-radius: 12px;

    transition: 0.2s ease;
}


.quiz-options button:hover {
    border-color: rgba(34, 211, 238, 0.3);

    color: var(--cyan);
}


.quiz-options button.correct {
    border-color: var(--green);

    background: rgba(34, 197, 94, 0.08);

    color: #86efac;
}


.quiz-options button.wrong {
    border-color: var(--danger);

    background: rgba(251, 113, 133, 0.08);

    color: #fda4af;
}


.quiz-feedback {
    margin-top: 15px;

    color: var(--muted);

    font-size: 11px;
}


.quiz-next {
    margin-top: 18px;
}


/* =========================================================
   FORMULAS
========================================================= */

.formula-controls {
    display: flex;

    gap: 10px;

    margin-bottom: 18px;
}


.formula-controls input {
    flex: 1;
}


.formula-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}


.formula-card {
    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--panel);

    transition: 0.2s ease;
}


.formula-card:hover {
    transform: translateY(-3px);

    border-color: rgba(167, 139, 250, 0.25);
}


.formula-card > span {
    display: inline-block;

    color: var(--purple);

    font-size: 9px;

    letter-spacing: 1.4px;

    margin-bottom: 8px;
}


.formula-card h3 {
    font-size: 16px;

    margin-bottom: 13px;
}


.equation {
    padding: 15px;

    border-radius: 11px;

    background: rgba(0, 0, 0, 0.18);

    color: var(--cyan);

    font-family: "Courier New", monospace;

    font-size: 15px;

    overflow-x: auto;

    margin-bottom: 13px;
}


.formula-card p {
    color: var(--muted);

    font-size: 10px;

    margin-top: 7px;
}


.formula-card p strong {
    color: #c7d8e8;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.technology-panel {
    min-height: 330px;

    padding: 45px;

    border: 1px solid rgba(34, 211, 238, 0.13);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(34, 211, 238, 0.1),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            rgba(8, 28, 46, 0.96),
            rgba(5, 14, 25, 0.96)
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;
}


.technology-content {
    max-width: 650px;
}


.technology-content h2 {
    font-size: 34px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin: 10px 0 15px;
}


.technology-content p {
    color: var(--muted);

    font-size: 13px;
}


.tech-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}


.tech-tags span {
    padding: 7px 10px;

    border-radius: 9px;

    background: rgba(34, 211, 238, 0.07);

    border: 1px solid rgba(34, 211, 238, 0.08);

    color: #a9eaf3;

    font-size: 9px;
}


.technology-visual {
    width: 260px;
    height: 260px;

    display: grid;
    place-items: center;
}


.sensor-ring {
    width: 190px;
    height: 190px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(34, 211, 238, 0.18);

    box-shadow:
        0 0 0 25px rgba(34, 211, 238, 0.025),
        0 0 0 50px rgba(34, 211, 238, 0.015);
}


.sensor-ring span {
    font-size: 75px;

    color: var(--cyan);
}


/* =========================================================
   RESOURCES
========================================================= */

.resource-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 13px;
}


.resource-card {
    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--panel);

    transition: 0.2s ease;
}


.resource-card:hover {
    transform: translateY(-4px);

    border-color: rgba(34, 211, 238, 0.22);
}


.resource-card > span {
    color: var(--cyan);

    font-size: 9px;

    letter-spacing: 1.5px;
}


.resource-card h3 {
    font-size: 16px;

    margin: 10px 0 7px;
}


.resource-card p {
    color: var(--muted);

    font-size: 11px;

    min-height: 45px;
}


.resource-card strong {
    display: block;

    color: var(--cyan);

    font-size: 10px;

    margin-top: 16px;
}


/* =========================================================
   QUICK CHECK
========================================================= */

.quick-check {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(167, 139, 250, 0.07),
            rgba(34, 211, 238, 0.04)
        );
}


.quick-check h2 {
    max-width: 650px;

    font-size: 24px;

    margin-bottom: 20px;
}


.quick-options {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;
}


.quick-options button {
    min-height: 50px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.025);

    color: var(--text);

    transition: 0.2s ease;
}


.quick-options button:hover {
    border-color: rgba(34, 211, 238, 0.3);
}


.quick-options button.correct-answer {
    border-color: var(--green);

    background: rgba(34, 197, 94, 0.08);

    color: #86efac;
}


.quick-options button.wrong-answer {
    border-color: var(--danger);

    background: rgba(251, 113, 133, 0.08);

    color: #fda4af;
}


#quickFeedback {
    color: var(--muted);

    font-size: 11px;

    margin-top: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    min-height: 100px;

    margin-top: 80px;

    padding: 25px 0;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    color: var(--muted);

    font-size: 10px;
}


.footer strong {
    display: block;

    color: var(--text);

    font-size: 12px;
}


.footer span {
    display: block;

    margin-top: 3px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

    .main-content {
        padding: 30px;
    }

    .tool-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .resource-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .formula-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .current-weather-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .current-main {
        grid-column: span 3;
    }

    .station-meta-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .hero-atmosphere {
        opacity: 0.6;
    }
}


@media (max-width: 950px) {

    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        transform: translateX(-100%);

        transition: 0.25s ease;

        width: 260px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;

        padding:
            90px 20px 0;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-section {
        padding: 40px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-atmosphere {
        opacity: 0.2;

        right: -100px;
    }

    .discipline-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .observation-form {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .analytics-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .daily-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .metar-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .quick-options {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .technology-panel {
        padding: 35px;
    }
}


@media (max-width: 650px) {

    .main-content {
        padding:
            84px 14px 0;
    }

    .page-section {
        margin: 65px 0;
    }

    .hero-section {
        min-height: 450px;

        padding: 30px 24px;

        border-radius: 22px;
    }

    .hero-content h1 {
        font-size: 42px;

        letter-spacing: -2px;
    }

    .hero-atmosphere {
        width: 280px;
        height: 280px;

        right: -110px;
    }

    .atmosphere-core {
        inset: 85px;
    }

    .stats-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .stat-card {
        min-height: 100px;

        padding: 14px;
    }

    .stat-card strong {
        font-size: 17px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .location-bar {
        flex-wrap: wrap;
    }

    .search-box {
        flex-basis: 100%;
    }

    .station-meta-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .current-weather-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .current-main {
        grid-column: span 2;
    }

    .current-main-info strong {
        font-size: 42px;
    }

    .weather-icon-large {
        width: 80px;
        height: 80px;

        font-size: 40px;
    }

    .chart-wrapper {
        height: 280px;
    }

    .tool-grid {
        grid-template-columns:
            1fr;
    }

    .discipline-grid {
        grid-template-columns:
            1fr;
    }

    .calculator-layout {
        grid-template-columns:
            1fr;
    }

    .observation-form {
        grid-template-columns:
            1fr;
    }

    .formula-grid {
        grid-template-columns:
            1fr;
    }

    .formula-controls {
        flex-direction: column;
    }

    .metar-input {
        flex-direction: column;
    }

    .metar-grid {
        grid-template-columns:
            1fr;
    }

    .cloud-detail {
        grid-template-columns:
            1fr;

        text-align: center;
    }

    .cloud-symbol {
        margin: auto;
    }

    .cloud-tags {
        justify-content: center;
    }

    .quiz-options {
        grid-template-columns:
            1fr;
    }

    .daily-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .technology-panel {
        flex-direction: column;

        text-align: center;

        padding: 30px 22px;
    }

    .tech-tags {
        justify-content: center;
    }

    .resource-grid {
        grid-template-columns:
            1fr;
    }

    .quick-options {
        grid-template-columns:
            1fr;
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 420px) {

    .stats-grid {
        grid-template-columns:
            1fr;
    }

    .station-meta-grid {
        grid-template-columns:
            1fr;
    }

    .current-weather-grid {
        grid-template-columns:
            1fr;
    }

    .current-main {
        grid-column: span 1;

        flex-direction: column;

        align-items: flex-start;
    }

    .analytics-grid {
        grid-template-columns:
            1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions button {
        width: 100%;
    }
}