/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #181c24; /* Extra Dark Nord Base */
    color: #eceff4;            /* Snow Storm White */
    min-height: 100vh;
    line-height: 1.6;
}

/* ==========================================================================
   SPLIT DASHBOARD LAYOUT
   ========================================================================== */
.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 100vh;
}

@media (min-width: 900px) {
    .dashboard-wrapper {
        flex-direction: row;
    }
}

/* ==========================================================================
   LEFT SIDEBAR (Fixed/Sticky Area)
   ========================================================================== */
.sidebar {
    background-color: #12151c; /* Deepest Charcoal Base */
    border-right: 1px solid #2e3545;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .sidebar {
        width: 320px;
        position: sticky;
        top: 0;
        height: 100vh;
    }
}

.profile-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.subtitle {
    color: #88c0d0; /* Nord Frost Cyan */
    font-size: 0.95rem;
    font-weight: 500;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #2e3545;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d8dee9;
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.link-item:hover {
    color: #d08770; /* Hover highlights with Nord Coral */
}

.sidebar-section h3 {
    font-size: 0.75rem;
    font-family: monospace;
    color: #d08770; /* Section Headings in Nord Coral */
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.tech-tags {
    list-style: none;
}

.tech-tags li {
    font-size: 0.85rem;
    color: #e5e9f0;
    margin-bottom: 0.4rem;
}

.status-card {
    margin-top: auto;
    background-color: #181c24;
    border: 1px solid #2e3545;
    padding: 1rem;
    border-radius: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a3be8c; /* Aurora Green */
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #a3be8c;
    border-radius: 50%;
}

.status-detail {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.3rem;
}

/* ==========================================================================
   RIGHT BENTO GRID AREA
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bento-card {
    background-color: #212631; /* Dark Card Panels */
    border: 1px solid #2e3545;
    border-radius: 12px;
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.accent-number {
    color: #d08770; /* Section Numbers in Nord Coral */
    font-family: monospace;
}

.card-text {
    color: #e5e9f0;
    font-size: 0.98rem;
}

.card-text-sm {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.mb-10 { margin-bottom: 1rem; }

/* ==========================================================================
   SIMULATOR COMPONENT STYLES
   ========================================================================== */
.simulator-box {
    background-color: #181c24;
    border: 1px solid #2e3545;
    padding: 1.5rem;
    border-radius: 8px;
}

.sim-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .sim-form {
        grid-template-columns: 1fr 1fr;
    }
    .input-button {
        grid-column: span 2;
    }
}

.input-field label {
    display: block;
    font-size: 0.75rem;
    font-family: monospace;
    color: #d08770; /* Coral Labels */
    margin-bottom: 0.4rem;
}

.input-field input {
    width: 100%;
    background-color: #12151c;
    border: 1px solid #2e3545;
    color: #eceff4;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-family: monospace;
}

.input-field input:focus {
    outline: none;
    border-color: #88c0d0;
}

button {
    font-family: 'Inter', sans-serif; /* Fixes browser default font override */
    background-color: #88c0d0;       /* Frost Cyan Button */
    color: #12151c;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #d08770;       /* Nord Coral Hover State */
    color: #ffffff;
}

.sim-output {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid #2e3545;
}

.output-label {
    font-size: 0.7rem;
    font-family: monospace;
    color: #94a3b8;
}

#resultText {
    font-family: monospace;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* ==========================================================================
   SUB-GRID & LIST STYLES
   ========================================================================== */
.skills-subgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 700px) {
    .skills-subgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-tile {
    background-color: #181c24;
    border: 1px solid #2e3545;
    padding: 1.2rem;
    border-radius: 8px;
}

.skill-tile h4 {
    font-size: 0.85rem;
    font-family: monospace;
    color: #88c0d0; /* Frost Cyan Tile Headers */
    margin-bottom: 0.6rem;
}

.skill-tile ul {
    list-style: none;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.skill-tile li {
    margin-bottom: 0.3rem;
}

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

.exp-header h3 {
    font-size: 1.05rem;
    color: #eceff4;
}

.exp-date {
    font-size: 0.75rem;
    font-family: monospace;
    color: #d08770; /* Coral Date Badge */
}

.bullet-list {
    list-style: none;
    font-size: 0.9rem;
    color: #e5e9f0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.bullet-list li::before {
    content: "•";
    color: #88c0d0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.main-footer {
    text-align: center;
    font-size: 0.75rem;
    font-family: monospace;
    color: #94a3b8;
    padding-top: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (FLIGHT + BLUR EFFECT)
   ========================================================================== */

/* Fix button font inheritance */
button {
    font-family: 'Inter', sans-serif;
}

/* Initial hidden state for the cards */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

/* Active state when scrolled into view */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

@media (min-width: 600px) {
    .sim-form {
        grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    }
    .input-button {
        grid-column: span 3; /* Button spans all 3 columns below */
    }
}