@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

:root {
    --bg-pure: #ffffff;
    --text-vault: #000000;
    --text-depth: #4a4a4a;
    --text-celestial: #999999;
    --border-hairline: #e5e5e5;
    --surface-ghost: #fcfcfc;
    --accent-wa: #25d366;
    --accent-ai: #4338ca;
    --card-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-pure);
    color: var(--text-vault);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

header {
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-hairline);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
}

.logo-big {
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-depth);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-vault);
}

.nav-cta {
    color: #fff !important;
    background: #000;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 800;
}

.nav-cta:hover {
    background: #333;
}

/* HERO & BRAND */
.hero {
    padding: 120px 20px 80px 20px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-title {
    font-size: clamp(6rem, 18vw, 16rem);
    font-weight: 950;
    line-height: 0.8;
    margin-bottom: 3rem;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    background: linear-gradient(-45deg, #000, #4338ca, #25d366, #000);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorFlow 8s ease infinite;
}

@keyframes colorFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-depth);
    letter-spacing: -0.04em;
}

.highlight-ai {
    color: #000;
    position: relative;
}

.highlight-ai::after {
    content: 'AI';
    position: absolute;
    top: -10px;
    right: -25px;
    font-size: 0.7rem;
    background: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-celestial);
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.btn-evx {
    background: #000;
    color: #fff;
    padding: 20px 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-evx:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FEATURES STACK - THE TRUE MATTE SOLUTION */
.features-stack {
    position: relative;
    background: #fff;
}

.stacked-card {
    position: sticky;
    top: 100px;
    height: 80vh;
    width: 100%;
    padding: 0 40px;
    margin-bottom: 20vh;
    display: flex;
    justify-content: center;
}

.card-inner {
    background: #ffffff;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    border: 1px solid var(--border-hairline);
    border-radius: 40px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    position: relative;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10;
}

.card-inner.is-stacked {
    transform: translateY(-30px) scale(0.96);
    opacity: 1;
    pointer-events: none;
}

.card-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h2 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-celestial);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.card-content h3 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 0.95;
    margin-bottom: 2.5rem;
    letter-spacing: -3px;
}

.card-content p {
    font-size: 1.3rem;
    color: var(--text-depth);
    line-height: 1.6;
}

.card-visual {
    background: var(--surface-ghost);
    border-left: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16rem;
    color: rgba(0, 0, 0, 0.08);
}

/* REUSABLE ENVELOPE SYSTEM - FIXED ANIMATION */
.env-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    perspective: 2000px;
    margin: 0 auto;
}

.env-main {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 320px;
    background: #fff;
    border: 1px solid var(--border-hairline);
    border-radius: 0 0 24px 24px;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.env-flap {
    position: absolute;
    bottom: 320px;
    width: 100%;
    z-index: 5;
    transform-origin: bottom center;
    transform: rotateX(0deg);
    /* Başlangıç: kapalı */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 400px solid transparent;
    border-right: 400px solid transparent;
    border-bottom: 180px solid #f5f5f5;
}

.env-letter {
    position: absolute;
    bottom: 30px;
    /* Zarfın içinde başla */
    left: 5%;
    width: 90%;
    height: 380px;
    background: #fff;
    border: 1px solid var(--border-hairline);
    border-radius: 24px;
    padding: 40px;
    z-index: 2;
    transform: translateY(0);
    /* Başlangıç: zarfın içinde */
    opacity: 1;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* AÇILINCAN: Kapak açılır, mektup yukarı çıkar */
.env-box.is-open .env-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.env-box.is-open .env-letter {
    transform: translateY(-420px);
    z-index: 10;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.env-sig {
    font-family: 'Pinyon Script', cursive;
    font-size: 3.5rem;
    color: #000;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.8s ease 1s;
    text-align: right;
}

.env-box.is-open .env-sig {
    opacity: 0.8;
}

/* PRICING AREA - NO SCROLL EXPERIENCE */
.pricing-section {
    padding: 100px 40px;
    border-top: 1px solid var(--border-hairline);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-celestial);
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 3.5rem;
    font-weight: 950;
    letter-spacing: -3px;
}

.price-box {
    background: var(--surface-ghost);
    border: 1px solid var(--border-hairline);
    border-radius: 40px;
    padding: 60px;
    max-width: 900px;
    width: 100%;
    position: relative;
}

.calc-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-input-wrapper {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-hairline);
    border-radius: 20px;
    padding: 6px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.calc-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    outline: none;
    background: transparent;
}

.btn-calc {
    border-radius: 14px;
    padding: 0 35px;
}

/* RESULT - FIXED OVERLAY (NO CONTAINER) */
.result-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: flex-end;
    /* Altta konumlandır */
    justify-content: center;
    padding-bottom: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.result-wrapper.is-visible {
    display: flex;
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #000;
    color: #fff;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 50px;
    text-align: left;
    list-style: none;
    width: 100%;
    max-width: 600px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-depth);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-wa);
    font-weight: 900;
}

.card-inner.finale-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    header .container {
        padding: 0 20px;
    }

    nav {
        gap: 25px;
    }

    nav a {
        font-size: 0.75rem;
    }

    .nav-cta {
        padding: 10px 20px;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .brand-title {
        font-size: clamp(4rem, 15vw, 10rem);
    }

    .hero h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .stacked-card {
        padding: 0 20px;
        height: 70vh;
    }

    .card-inner {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 50px;
    }

    .card-content h3 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .card-visual {
        display: none;
    }

    .pricing-section {
        padding: 80px 20px;
    }

    .price-box {
        padding: 50px 30px;
    }

    .pricing-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .env-box {
        max-width: 90%;
        height: 400px;
    }

    .env-main {
        height: 280px;
    }

    .env-flap {
        bottom: 280px;
        border-left-width: 300px;
        border-right-width: 300px;
        border-bottom-width: 150px;
    }

    .env-letter {
        height: 340px;
        padding: 30px;
    }

    .env-box.is-open .env-letter {
        transform: translateY(-300px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    header {
        height: 70px;
    }

    header .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
        height: auto;
    }

    .logo-big {
        font-size: 1.4rem;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .hero {
        padding: 60px 15px 40px;
    }

    .brand-title {
        font-size: clamp(3rem, 12vw, 6rem);
        margin-bottom: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-evx {
        padding: 15px 30px;
        font-size: 0.85rem;
    }

    .highlight-ai::after {
        font-size: 0.5rem;
        top: -8px;
        right: -18px;
        padding: 2px 4px;
    }

    .stacked-card {
        padding: 0 15px;
        height: 60vh;
        margin-bottom: 15vh;
        top: 80px;
    }

    .card-content {
        padding: 30px;
    }

    .card-content h2 {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .card-content h3 {
        font-size: 1.8rem;
        letter-spacing: -1px;
        margin-bottom: 1.5rem;
    }

    .card-content p {
        font-size: 1rem;
    }

    .pricing-header h3 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .price-box {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .price-tag {
        font-size: 4rem;
        letter-spacing: -3px;
    }

    .price-tag span {
        font-size: 1.5rem;
    }

    .calc-input-wrapper {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .calc-input {
        padding: 12px 15px;
        font-size: 1rem;
        text-align: center;
    }

    .btn-calc {
        padding: 12px 20px;
        width: 100%;
    }

    .env-box {
        max-width: 95%;
        height: 350px;
    }

    .env-main {
        height: 240px;
        border-radius: 0 0 16px 16px;
    }

    .env-flap {
        bottom: 240px;
        border-left-width: 200px;
        border-right-width: 200px;
        border-bottom-width: 120px;
    }

    .env-letter {
        height: 300px;
        padding: 25px;
        border-radius: 16px;
    }

    .env-letter h2 {
        font-size: 0.6rem !important;
    }

    .env-letter h3 {
        font-size: 2rem !important;
    }

    .env-letter p {
        font-size: 1rem !important;
    }

    .env-sig {
        font-size: 2.5rem;
    }

    .env-box.is-open .env-letter {
        transform: translateY(-260px) scale(1.02);
    }

    .close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 20px;
        right: 20px;
    }

    .result-wrapper {
        padding-bottom: 30px;
    }

    footer {
        padding: 50px 20px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .brand-title {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .stacked-card {
        height: 55vh;
    }

    .card-content h3 {
        font-size: 1.5rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .pricing-header h2 {
        font-size: 0.7rem;
    }

    .pricing-header h3 {
        font-size: 1.6rem;
    }

    .price-tag {
        font-size: 3rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
    }

    .env-box {
        height: 300px;
    }

    .env-main {
        height: 200px;
    }

    .env-flap {
        bottom: 200px;
        border-left-width: 160px;
        border-right-width: 160px;
        border-bottom-width: 100px;
    }

    .env-letter {
        height: 260px;
        padding: 20px;
    }

    .env-letter h3 {
        font-size: 1.5rem !important;
    }

    .env-sig {
        font-size: 2rem;
    }

    .env-box.is-open .env-letter {
        transform: translateY(-220px);
    }
}

/* SHIPSTAT INSPIRED PREMIUM DASHBOARD */
:root {
    --dash-bg: #f9fafb;
    --dash-accent: #ff5c5c;
    --dash-text: #111827;
    --dash-secondary: #6b7280;
    --dash-card-bg: #ffffff;
    --dash-border: #f3f4f6;
}

.ship-dashboard {
    background-color: var(--dash-bg);
    min-height: 100vh;
    color: var(--dash-text);
    padding-bottom: 80px;
}

/* TOP NAV */
.ship-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid var(--dash-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ship-nav-links {
    display: flex;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 100px;
    gap: 5px;
}

.ship-nav-item {
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--dash-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
}

.ship-nav-item.active {
    background: #000;
    color: #fff;
}

.ship-profile-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ship-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--dash-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dash-text);
    background: #fff;
    cursor: pointer;
}

/* MAIN CONTENT */
.ship-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 30px;
}

.ship-welcome {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.ship-welcome span {
    color: var(--dash-secondary);
    font-weight: 400;
}

/* ACTIONS BAR */
.ship-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    align-items: center;
}

.ship-actions-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 10px;
}

.btn-pill {
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid var(--dash-border);
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-pill.primary {
    background: var(--dash-accent);
    color: #fff;
    border-color: var(--dash-accent);
}

.btn-pill:hover:not(.primary) {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* GRID LAYOUT */
.ship-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.ship-card {
    background: var(--dash-card-bg);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--dash-border);
}

.ship-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ship-card-title {
    font-size: 1.1rem;
    font-weight: 800;
}

/* ITEMS LIST */
.ship-item-row {
    padding: 20px 0;
    border-bottom: 1px solid #f9fafb;
}

.ship-item-row:last-child {
    border: none;
}

.item-status-bar {
    height: 6px;
    background: #f3f4f6;
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
    display: flex;
    gap: 3px;
}

.status-segment {
    height: 100%;
    flex: 1;
    background: var(--dash-accent);
}

.status-segment.muted {
    background: #e5e7eb;
}

/* FINANCIALS CHART SIM */
.chart-container {
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding-top: 20px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chart-bar {
    flex: 1;
    background: var(--dash-accent);
    border-radius: 8px 8px 0 0;
    opacity: 0.8;
}

.chart-bar.secondary {
    background: #ffdbdb;
    opacity: 1;
}

/* MESSAGES */
.msg-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
    transition: 0.3s;
    cursor: pointer;
}

.msg-item:hover {
    background: #f9fafb;
}

/* ADVANCED CHART PATTERNS */
.striped-bar {
    background: repeating-linear-gradient(45deg,
            #ff5c5c,
            #ff5c5c 5px,
            #ffdbdb 5px,
            #ffdbdb 10px);
    opacity: 0.9;
}

.chart-axis {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--dash-border);
    margin-top: 10px;
    color: #bbb;
    font-size: 0.7rem;
    font-weight: 700;
}

/* PREMIUM TABLE */
.ship-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.ship-table th {
    text-align: left;
    padding: 0 20px 10px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ship-table tr {
    transition: 0.3s;
}

.ship-table td {
    background: #fff;
    padding: 15px 20px;
}

.ship-table td:first-child {
    border-radius: 12px 0 0 12px;
    border-left: 1px solid var(--dash-border);
    border-top: 1px solid var(--dash-border);
    border-bottom: 1px solid var(--dash-border);
}

.ship-table td:last-child {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid var(--dash-border);
    border-top: 1px solid var(--dash-border);
    border-bottom: 1px solid var(--dash-border);
}

.ship-table td:not(:first-child):not(:last-child) {
    border-top: 1px solid var(--dash-border);
    border-bottom: 1px solid var(--dash-border);
}

/* PROGRESS SEGMENTS */
.progress-container {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.progress-chunk {
    height: 6px;
    flex: 1;
    background: #f3f4f6;
    border-radius: 10px;
}

.progress-chunk.active {
    background: var(--dash-accent);
}

/* AVATAR STACK */
.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

/* MASTERPIECE VISUAL FEAST STYLES */
.ship-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.micro-card {
    background: #fff;
    border: 1px solid var(--dash-border);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.micro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

/* RADIAL CHART SIM */
.radial-container {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radial-bg {
    fill: none;
    stroke: #f3f4f6;
    stroke-width: 4;
}

.radial-progress {
    fill: none;
    stroke: var(--dash-accent);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

/* ENHANCED CHARTS */
.mini-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}

.mini-bar {
    width: 4px;
    background: #eee;
    border-radius: 10px;
}

.mini-bar.active {
    background: var(--dash-accent);
}

/* TABULAR ELEGANCE */
.compact-table {
    width: 100%;
    font-size: 0.8rem;
}

.compact-table th {
    padding: 10px;
    border-bottom: 1px solid var(--dash-border);
    text-align: left;
    color: #bbb;
}

.compact-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f9fafb;
}

/* SHIMMER EFFECT FOR PREMIUM FEEL */
.shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 1400px) {
    .ship-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .ship-grid-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .ship-grid {
        grid-template-columns: 1fr;
    }

    .ship-nav {
        padding: 20px;
    }

    .ship-container {
        padding: 40px 20px;
    }
}
/* --- APP / DASHBOARD STYLES (ADDED) --- */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid #f0f0f0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.close-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}
.close-btn:hover {
    background: #e5e5e5;
    color: #000;
}

.form-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input, .form-select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    outline: none;
    transition: all 0.2s;
    background: #f9fafb;
    font-family: 'Inter', sans-serif;
}

.form-input:focus, .form-select:focus {
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.btn-evx.btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
    box-shadow: none;
}
.btn-evx.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-evx.btn-primary {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
}
