:root {
    --bg-color: #000000;
    --sidebar-bg: #050505;
    --card-bg: #111111;
    --primary-gradient: #ffffff;
    /* Solid white for accents */
    --secondary-gradient: #888888;
    /* Grey for secondary accents */
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #333333;
    --font-main: 'Outfit', sans-serif;
    --sidebar-width: 260px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    /* Mobile viewport fix */
    overflow: hidden;
    /* Prevent body scroll, handle in main */
}

/* App Layout */
.app-container {
    display: flex;
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    /* Mobile viewport fix */
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 30px;
    flex-shrink: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    color: #fff;
}

.logo-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.logo-wordmark {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

/* ... content ... */

.tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
}

.tag.video {
    color: #fff;
    background: #222;
}

.tag.blog {
    color: #fff;
    background: #222;
}

/* ... content ... */

.shop-img-placeholder.premium {
    background: #222;
    color: #fff;
    font-size: 2rem;
    border: 1px solid #444;
}

.shop-btn.free {
    background: #222;
    color: #fff;
    border: 1px solid #444;
}

.shop-btn.paid {
    background: #fff;
    color: #000;
}


.nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item i {
    width: 25px;
    text-align: center;
}

.socials {
    margin-top: auto;
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.socials a:hover {
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px 80px;
    scroll-behavior: smooth;
}

/* View Sections */
.view-section {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home / About Profile */
.profile-header {
    text-align: center;
    margin-bottom: 50px;
}

.banner-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}

.profile-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1a1a1a;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.profile-pic:hover {
    transform: translateX(-50%) scale(1.05) rotate(-3deg);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.profile-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.profile-header .bio {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.role-gradient {
    background: linear-gradient(120deg, #ffffff, #888888, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.about-details h3 {
    margin-bottom: 15px;
    color: #fff;
}

.about-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-details .nav-trigger {
    font-size: 1rem;
}

.timeline-wrapper {
    position: relative;
    margin-top: 30px;
}

.timeline-container {
    padding: 20px 0;
    width: 100%;
    overflow-x: auto;
    cursor: grab;
    /* Hide scrollbar for aesthetics */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE and Edge */
    user-select: none;
    /* Prevent text selection */
    scroll-behavior: smooth;
}

.timeline-container:active {
    cursor: grabbing;
}

.timeline-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari/Opera */
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.5;
    /* Semi-transparent by default */
}

.scroll-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    /* Fully opaque on hover */
}

.scroll-btn.left {
    left: -15px;
}

.scroll-btn.right {
    right: -15px;
}

.timeline-container:active {
    cursor: grabbing;
}

.timeline-container::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    display: flex;
    gap: 20px;
    padding: 0 5px;
    min-width: min-content;
}

.timeline-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    min-width: 260px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: #666;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -21px;
    width: 20px;
    height: 1px;
    background: var(--border-color);
    display: block;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item .year {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid #333;
}

.timeline-item.active .year {
    color: #000;
    background: #fff;
    border-color: #fff;
}

.timeline-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    margin-bottom: 5px;
    border: 1px solid var(--border-color);
}

.timeline-item .role {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.timeline-item .desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Tech Stack */
.tech-stack-section {
    margin-top: 30px;
}

.tech-stack-section h3 {
    margin-bottom: 25px;
    color: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tech-item i {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover i {
    color: #fff;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: #fff;
}

/* Content Feed */
.content-hub {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-feed-header {
    margin-bottom: 0;
}

.content-feed-intro {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 1rem;
}

.content-filters {
    flex-wrap: wrap;
}

.content-status-bar {
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.content-source-pill,
.content-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #181818;
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
}

.content-source-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.content-source-pill[data-mode="fallback"]::before {
    background: #888;
}

.content-source-note {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.content-featured-panel {
    display: grid;
    grid-template-columns: minmax(235px, 290px) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.content-featured-placeholder,
.content-featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-featured-copy p,
.content-featured-placeholder p {
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.97rem;
}

.content-featured-copy h3,
.content-featured-placeholder h3 {
    font-size: 1.65rem;
    line-height: 1.15;
}

.content-featured-meta,
.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.content-featured-meta {
    margin-top: 16px;
}

.content-featured-meta span,
.story-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #181818;
    border: 1px solid var(--border-color);
}

.content-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.content-primary-link,
.content-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.content-primary-link {
    border: 1px solid #fff;
    background: #fff;
    color: #000;
}

.content-secondary-link {
    border: 1px solid var(--border-color);
    background: transparent;
    color: #fff;
}

.content-primary-link:hover,
.content-secondary-link:hover {
    transform: translateY(-1px);
}

.content-featured-media {
    min-height: 100%;
}

.youtube-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #050505;
    border: 1px solid var(--border-color);
}

.youtube-card-featured {
    max-width: 290px;
    aspect-ratio: 4 / 5;
}

.youtube-poster,
.youtube-embed,
.youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.youtube-poster {
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000;
}

.youtube-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.36) 100%);
    transition: opacity 0.2s ease;
}

.youtube-poster:hover::after,
.youtube-poster:focus-visible::after {
    opacity: 0.82;
}

.youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 1;
}

.youtube-poster:hover .youtube-play,
.youtube-poster:focus-visible .youtube-play {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(255, 255, 255, 0.16);
}

.youtube-poster:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.youtube-card.is-playing .youtube-poster {
    display: none;
}

.content-lane {
    padding: 24px 0 0;
    border-top: 1px solid var(--border-color);
}

.content-lane-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.content-lane-head h3 {
    font-size: 1.4rem;
}

.content-lane-subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.content-lane-tools,
.content-carousel-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-muted);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.content-carousel-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    color: #000;
}

.content-carousel-btn:disabled {
    cursor: default;
    opacity: 0.35;
}

.content-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 320px);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.content-carousel-track::-webkit-scrollbar {
    display: none;
}

.content-carousel-track-articles {
    grid-auto-columns: minmax(280px, 320px);
}

.story-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: #fff;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color 0.22s ease;
}

.story-card:hover {
    border-color: #fff;
}

.story-card-video {
    cursor: pointer;
    padding: 0;
}

.story-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.3) 100%);
}

.story-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.story-cover {
    display: flex;
    align-items: flex-end;
    min-height: 150px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(6, 6, 6, 0.96)),
        var(--story-accent);
}

.story-cover span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 20px;
    flex: 1;
}

.story-body h4 {
    font-size: 1.15rem;
    line-height: 1.15;
}

.story-body p {
    color: var(--text-muted);
    line-height: 1.6;
}

.story-meta-bottom {
    margin-top: auto;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
}

.story-link::after {
    content: '\2192';
}

.story-link.is-disabled {
    color: rgba(255, 255, 255, 0.45);
}

.story-link.is-disabled::after {
    content: '';
}

.content-hub[data-active-filter="video"] [data-content-type="article"],
.content-hub[data-active-filter="article"] [data-content-type="video"] {
    display: none;
}

.story-card.is-disabled {
    opacity: 0.88;
}

@media (max-width: 1180px) {
    .content-featured-panel {
        grid-template-columns: 1fr;
    }

    .content-featured-media {
        min-height: 0;
    }

    .youtube-card-featured {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .content-carousel-track,
    .content-carousel-track-articles {
        grid-auto-columns: minmax(280px, 320px);
    }
}

@media (max-width: 768px) {
    .content-hub {
        gap: 24px;
    }

    .content-lane-head,
    .content-lane-tools {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-feed-header {
        align-items: flex-start;
    }

    .content-status-bar,
    .content-featured-panel {
        padding: 18px;
    }

    .content-featured-panel {
        min-height: unset;
    }

    .content-carousel-track,
    .content-carousel-track-articles {
        grid-auto-columns: minmax(258px, 86%);
    }
}

.feed-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}



.feed-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    cursor: pointer;
}

.feed-content p {
    color: var(--text-muted);
    max-width: 90%;
}

.feed-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.action-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    border-color: #fff;
}


/* Consulting Card */
.consulting-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.consulting-pricing {
    text-align: right;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.cta-btn {
    background: var(--primary-gradient);
    border: none;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    margin-top: 15px;
    cursor: pointer;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.shop-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.shop-img-placeholder {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
}



.shop-details {
    padding: 20px;
}

.shop-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.shop-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.shop-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.shop-btn {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}




/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.03);
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.user-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.user-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        overflow: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }

    .nav-links {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .nav-item {
        flex-shrink: 0;
        font-size: 0.9rem;
    }

    .logo {
        margin-bottom: 20px;
    }

    .socials {
        display: none;
    }

    .main-content {
        padding: 30px 20px;
        overflow: visible;
    }

    .consulting-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .consulting-pricing {
        text-align: center;
    }

    /* Fix Tech Grid on Mobile */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Fix Monitor Height on Mobile */
    .personal-section {
        padding: 5px 2px 2px 2px;
        /* Minimal bottom padding */
    }

    .monitor-bezel {
        padding: 5px 5px 15px 5px;
    }

    .personal-section h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .personal-section p {
        margin-bottom: 10px;
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .hobby-badges {
        margin-bottom: 5px;
        /* Tighter gap to link */
        gap: 8px;
    }

    .monitor-stand {
        height: 20px;
        /* Shorten stand */
    }

    /* Adaptive Scrollable Monitor */
    .monitor-screen {
        width: 100%;
        height: auto;
        /* Shrink to fit text (Solves "Empty Space") */
        max-height: 250px;
        /* Cap height (Solves "Too Tall") */
        min-height: 0;
        /* Remove floor */
        aspect-ratio: auto;
        overflow-y: scroll !important;
        /* Force scrollbar */
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #333;
        padding-bottom: 25px;
        /* Reasonable buffer for link */
        background: #000;
    }

    /* Fix Footer Obscured by Mobile UI */
    .site-footer {
        padding-bottom: 180px;
        /* Extra space for mobile address bar */
    }
}

/* Fix Monitor for Tablet/Small Laptop (769px - 1024px) */
@media (max-width: 1024px) {
    .personal-section {
        padding: 5px 2px 2px 2px;
    }

    .monitor-bezel {
        padding: 5px 5px 15px 5px;
    }

    .monitor-screen {
        width: 100%;
        height: auto;
        max-height: 250px;
        min-height: 0;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #333;
        padding-bottom: 25px;
        background: #000;
    }

    .monitor-stand {
        height: 20px;
    }

    .hobby-badges {
        margin-bottom: 5px;
        gap: 8px;
    }

    .personal-section h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .personal-section p {
        margin-bottom: 10px;
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Restaurant Metaphor Styles */
.restaurant-metaphor {
    margin-bottom: 30px;
    /* Reduced from 60px */
    padding: 10px 0;
    /* Reduced padding */
}

.metaphor-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 50px;
    /* Reduced from 50px */
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.metaphor-intro span {
    color: #fff;
    font-weight: 700;
}

.metaphor-wrapper {
    position: relative;
    /* max-width: 900px; */
    margin: 0 auto;
}

.metaphor-container {
    overflow-x: auto;
    width: 100%;
    padding: 20px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    cursor: grab;
    user-select: none;
}

.metaphor-container::-webkit-scrollbar {
    display: none;
}

.metaphor-container:active {
    cursor: grabbing;
}

.metaphor-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* Ensure it expands horizontally */
}

.metaphor-card {
    /* Horizontal Card Style */
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    width: 260px;
    /* Fixed width for consistent cards */
    min-width: 260px;
    position: relative;
    transition: transform 0.3s;
}

.metaphor-card:hover {
    transform: translateY(-5px);
}

/* Remove ::after arrows for scroll view complexity reduction */
.metaphor-card::after {
    display: none;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Icon Colors & Backgrounds */
.loading-bay {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.pantry {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.2));
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.kitchen {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.2));
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.dining {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.2));
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.automation {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(241, 196, 15, 0.2));
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.role-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    opacity: 0.8;
}

.card-content p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Automation Card Specific Layout */
/* Removed .metaphor-card.full-span as it's replaced by horizontal scroll */

/* Automation Pulsing Effect */
.automation i {
    animation: rotate-cog 5s linear infinite;
}

@keyframes rotate-cog {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Kitchen Steam Effect */
.steam-animation {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.steam-animation span {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    animation: flow 2s infinite linear;
    opacity: 0;
    filter: blur(3px);
}

.steam-animation span:nth-child(1) {
    left: 30%;
    animation-delay: 0.2s;
}

.steam-animation span:nth-child(2) {
    left: 50%;
    animation-delay: 0.6s;
}

.steam-animation span:nth-child(3) {
    left: 70%;
    animation-delay: 1.0s;
}

@keyframes flow {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }

    15% {
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) scaleX(1.5);
    }

    100% {
        transform: translateY(-40px) scaleX(2);
        opacity: 0;
    }
}

/* 1. Fivetran (Loading Bay) - Moving Truck */
.loading-bay i {
    display: inline-block;
    animation: truck-bounce 1.5s infinite ease-in-out;
}

@keyframes truck-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* 2. Snowflake (Pantry) - Breathing/Stocking Effect */
.pantry i {
    display: inline-block;
    animation: warehouse-pulse 3s infinite ease-in-out;
}

@keyframes warehouse-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 3. ThoughtSpot (Dining) - Swaying Utensils (Ready to eat) */
.dining i {
    display: inline-block;
    animation: utensil-sway 2s infinite ease-in-out;
    transform-origin: bottom center;
}

@keyframes utensil-sway {

    0%,
    100% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

/* Divider Between Sections */
.stack-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    opacity: 0.6;
}

.divider-line {
    height: 1px;
    background: var(--border-color);
    flex: 1;
}

.divider-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* --- NEW SECTIONS STYLES --- */

/* 1. Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Hook/Links */
.section-hook {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 1rem;
    color: var(--text-muted);
}

.section-hook strong {
    color: #fff;
}

.nav-trigger {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.2s;
    /* margin-left: 5px; Removed to fix indentation when at start of line */
}

.nav-trigger:hover {
    border-bottom-color: #fff;
    color: #fff;
    /* Ensure it stays white or use accent */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 2. Philosophy Section */
/* 2. Philosophy Section */
.philosophy-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.philosophy-section h3 {
    margin-bottom: 30px;
    color: #fff;
}

.philosophy-wrapper {
    position: relative;
    margin: 0 auto;
}

/* Default Desktop: Grid, No Buttons */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.philosophy-wrapper .scroll-btn {
    display: none;
    /* Hide buttons on desktop */
}

/* Mobile: Carousel Mode */
@media (max-width: 1200px) {
    .philosophy-grid {
        display: flex;
        /* Switch to Flex */
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 5px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
    }

    .philosophy-grid::-webkit-scrollbar {
        display: none;
    }

    .phil-card {
        min-width: 260px;
        /* Fixed width for carousel */
        scroll-snap-align: center;
    }

    /* Show buttons on mobile if needed, or rely on swipe */
    /* Let's show buttons to match user preference for arrows */
    .philosophy-wrapper .scroll-btn {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
    }

    .philosophy-wrapper .scroll-btn.left {
        left: -15px;
    }

    .philosophy-wrapper .scroll-btn.right {
        right: -15px;
    }
}

.phil-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.phil-card:hover {
    transform: translateY(-5px);
    border-color: #666;
}

.phil-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-main);
    /* White icon */
}

.phil-card h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.phil-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
}

/* 3. Personal Section */
/* 3. Personal Section (Monitor UI) */
.monitor-wrapper {
    margin-top: 80px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.monitor-bezel {
    background: #1a1a1a;
    padding: 15px 15px 25px 15px;
    /* Thicker bottom for chin */
    border-radius: 12px;
    box-shadow:
        0 0 0 2px #333,
        0 20px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    position: relative;
    border: 1px solid #000;
}

.monitor-camera {
    width: 6px;
    height: 6px;
    background: #0f0;
    /* Green LED */
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px #0f0;
    opacity: 0.5;
}

.monitor-screen {
    background: #050505;
    /* Deep black screen */
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    /* Subtle glow/reflection */
    background: radial-gradient(circle at 50% 30%, #111 0%, #000 70%);
}

.monitor-stand {
    width: 120px;
    height: 40px;
    background: linear-gradient(to bottom, #111, #222);
    /* margin-top: -5px; */
    /* If needed to attach closer */
    z-index: -1;
}

.monitor-base {
    width: 200px;
    height: 10px;
    background: #222;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-top: 0;
}

.personal-section {
    /* Reset previous container styles if needed */
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
    background: transparent;
    padding: 40px 20px;
    text-align: center;
}

.personal-section h3 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-bottom: 15px;
}

.personal-section p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hobby-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hobby-badge {
    background: rgba(255, 255, 255, 0.05);
    /* slightly lighter on screen */
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.hobby-badge:hover {
    background: #fff;
    color: #000;
}

.hobby-badge:hover i {
    color: #000;
}

.hobby-badge i {
    color: var(--text-muted);
}

/* Site Footer */
.site-footer {
    text-align: center;
    padding: 80px 0 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
}

/* Waitlist Form Styling */
/* Waitlist Form Styling */
.consulting-content {
    width: 100%;
    text-align: center;
    /* Center everything by default (form, spam notice) */
    padding: 20px;
}

.consulting-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
    /* Center the block, but left align text inside */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.consulting-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    /* margin-left: auto; margin-right: auto; -> Keep these to center the block itself, but text is left? 
       Actually user wants text left aligned. If max-width is 600px and it's centered, it looks like a centered column with left text.
       Let's keep margin auto for the block centering, but text-align left. 
    */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.waitlist-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.waitlist-form input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.waitlist-form button {
    white-space: nowrap;
    margin-top: 0;
    /* Override potential previous margin */
}

@media (max-width: 768px) {
    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }
}

/* Consulting Details */
.consulting-details {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
    /* Left align details text */
    /* Removed background/border to reduce "boxiness" */
}

.consulting-details h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.consulting-details h4:first-child {
    margin-top: 0;
}

.consulting-details p {
    margin-bottom: 10px;
}

.consulting-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.consulting-list li {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align list items */
    gap: 10px;
}

.consulting-list li i {
    color: #4cd964;
    /* Green checkmark */
    font-size: 0.9rem;
}

.spam-notice {
    display: block;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- TRANSCRIBER TOOL REDESIGN --- */

.tool-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transcriber-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 4px;
    /* Border container */
    /* animated border gradient trick could go here */
}

/* Upload Zone */
/* App Section Lists & Text */
.app-section ul {
    margin: 15px 0 20px 20px;
    list-style-type: disc;
    color: var(--text-muted);
}

.app-section p,
.app-section li {
    color: var(--text-muted) !important;
    /* Force match */
    margin-bottom: 8px;
    line-height: 1.6;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.01);
}

.upload-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.upload-area:hover .upload-icon {
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.upload-area h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.5rem;
}

.upload-area p {
    color: var(--text-muted);
}

/* Selected File Info */
.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(76, 175, 80, 0.1);
    padding: 20px 25px;
    border-radius: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    animation: fadeIn 0.3s ease;
}

/* Transcribe Button Spacing */
#transcribe-btn {
    margin: 25px auto 0 auto;
    display: block;
}

.file-info span {
    color: #4cd964;
    /* iOS Green */
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-info span::before {
    content: '\f1c7';
    /* File Audio Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

#remove-file {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#remove-file:hover {
    background: #ff4d4d;
    color: #fff;
}

/* Progress Bar */
.progress-wrapper {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: slideUp 0.4s ease;
}

.progress-label {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4b6cb7, #182848);
    /* Premium Blue Gradient */
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 15px rgba(75, 108, 183, 0.6);
}

/* Shimmer effect on progress */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 50px 50px;
    animation: move 2s linear infinite;
    opacity: 0.3;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Result Area - Code Editor Look */
.transcription-result {
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

.transcription-result h3 {
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transcription-result h3::before {
    content: '\f121';
    /* Code Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--text-muted);
    font-size: 0.9rem;
}

#transcript-text {
    width: 100%;
    height: 400px;
    background: #0d1117;
    /* Github dark bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    color: #c9d1d9;
    font-family: 'Consolas', 'Monaco', monospace;
    /* Monospaced */
    font-size: 1rem;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s;
}

#transcript-text:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.result-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-end;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MEDIUM-STYLE SHOP FEED --- */
.shop-feed {
    max-width: 720px;
    margin: 0 auto;
}

.feed-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
}

.feed-content * {
    border-bottom: none;
}

.feed-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-decoration: none;
    border: none;
    border-bottom: none;
    cursor: pointer;
}

.feed-desc {
    font-size: 1rem;
    color: #b0b3b8;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.feed-tag {
    background: rgba(76, 217, 100, 0.15);
    color: #4cd964;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feed-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.feed-cta {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.feed-item:hover .feed-cta {
    gap: 10px;
}

.feed-thumbnail {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.feed-thumbnail i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.premium-thumb {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}

.ats-thumb {
    background: linear-gradient(135deg, #5f5f66 0%, #2f3138 100%);
}

@media (max-width: 600px) {
    .feed-item {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .feed-thumbnail {
        width: 100%;
        height: 150px;
    }
}

/* Like & Comment Buttons */
.like-btn,
.comment-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.like-btn:hover,
.comment-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.like-btn.liked {
    color: #e74c3c;
}

.like-btn.liked i {
    font-weight: 900;
}

.feed-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Comment Section */
.comment-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #b0b3b8;
}

.comment-input-wrapper {
    display: flex;
    gap: 10px;
}

.comment-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 18px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.comment-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.comment-submit {
    background: #fff;
    border: none;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.comment-submit:hover {
    transform: scale(1.1);
}

/* Unified Filter Button Style */
.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.filter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.filter-btn:disabled:hover {
    background: transparent;
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Reset focus/active state for navigation buttons */
.tool-header .filter-btn,
.tool-header .filter-btn:focus,
.tool-header .filter-btn:active {
    background: transparent;
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.tool-header .filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- APP STORE STYLE LAYOUT --- */

.app-store-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.app-info h1 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    color: #fff;
}

.app-author {
    color: var(--text-muted);
    margin: 0 0 10px 0;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.app-rating .stars {
    font-size: 0.9rem;
}

.app-rating .rating-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.app-badges {
    display: flex;
    gap: 8px;
}

.app-badges .badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.app-badges .badge.free {
    background: rgba(76, 217, 100, 0.2);
    color: #4cd964;
}

.app-badges .badge.privacy {
    background: rgba(75, 108, 183, 0.2);
    color: #7b9ed9;
}

/* Action Buttons */
.app-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.app-actions .filter-btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Try in Browser - Glowing Gradient */
.app-actions .btn-try {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #000;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.app-actions .btn-try::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    /* Reverse gradient */
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.app-actions .btn-try:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.app-actions .btn-try:hover::before {
    opacity: 1;
}

/* Download Pro App - Premium Dark/Glass */
.app-actions .btn-download {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.app-actions .btn-download:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}


.app-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* App Sections */
.app-section {
    margin-bottom: 40px;
}

.app-section h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-section p {
    color: #b0b3b8;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: flex-start;
    /* Left align */
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 35px;
    /* Added spacing from text */
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    /* Larger hit area */
    border-radius: 30px;
    /* More rounded */
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}


.badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.badge-item i {
    color: #4cd964;
    /* Green accent */
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 15px 20px;
}

.comparison-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.comparison-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.comparison-row .feature-col {
    color: #b0b3b8;
}

.comparison-row .free-col {
    color: var(--text-muted);
}

.comparison-row .pro-col {
    color: #4cd964;
}

.comparison-row.highlight {
    background: rgba(76, 217, 100, 0.05);
}

/* FAQ Table */
.faq-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-header,
.faq-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 15px 20px;
    gap: 20px;
}

.faq-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.faq-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.faq-row .question-col {
    color: #fff;
    font-weight: 500;
}

.faq-row .answer-col {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-header .reviewer {
    font-weight: 600;
    color: #fff;
}

.review-header .review-stars {
    font-size: 0.8rem;
}

.review-item p {
    color: #b0b3b8;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* ATS Optimiser */
.ats-shell {
    margin-top: 28px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.ats-flow {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ats-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.ats-panel-head {
    margin-bottom: 18px;
}

.ats-panel-head h3 {
    margin: 6px 0 8px;
    padding: 0;
    border: 0;
    color: #f5f8ff;
    font-size: 1.25rem;
}

.ats-panel-head p {
    margin: 0;
    color: #a9b8c9;
    line-height: 1.6;
}

.ats-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(120, 172, 255, 0.12);
    color: #b9d2ff;
    border: 1px solid rgba(120, 172, 255, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.ats-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1200;
}

.ats-modal.is-open {
    display: flex;
}

.ats-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 14, 0.74);
    backdrop-filter: blur(10px);
}

.ats-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    background: linear-gradient(180deg, rgba(20, 28, 40, 0.98), rgba(9, 14, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.ats-modal-dialog h3 {
    margin: 10px 0 10px;
    padding: 0;
    border: 0;
}

.ats-modal-dialog p {
    margin: 0 0 18px;
    color: #b8c4d3;
}

.ats-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.ats-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ats-auth-row,
.ats-auth-signed-in {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.ats-auth-row input {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.26);
    color: #fff;
    outline: none;
}

.ats-auth-row input:focus {
    border-color: rgba(171, 200, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(120, 172, 255, 0.08);
}

.ats-auth-message {
    color: #aeb9c7;
    min-height: 1.2rem;
    display: block;
    margin-top: 6px;
}

.ats-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.ats-plan-card {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ats-plan-card h4,
.ats-plan-card p {
    margin: 0;
}

.ats-plan-card strong {
    font-size: 1.4rem;
    color: #fff;
}

.ats-plan-card .filter-btn,
.ats-plan-card .filter-btn:hover {
    width: 100%;
    justify-content: center;
}

.ats-plan-card .filter-btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

body.ats-modal-open {
    overflow: hidden;
}

.ats-upload-card {
    border: 1px dashed rgba(171, 200, 255, 0.28);
    border-radius: 22px;
    padding: 34px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(180deg, rgba(123, 158, 217, 0.11), rgba(255, 255, 255, 0.02));
}

.ats-upload-card:hover,
.ats-upload-card.is-dragover {
    border-color: rgba(171, 200, 255, 0.52);
    background: linear-gradient(180deg, rgba(123, 158, 217, 0.16), rgba(255, 255, 255, 0.04));
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(171, 200, 255, 0.08);
}

.ats-copy-block {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ats-copy-block label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.ats-copy-block textarea {
    width: 100%;
    min-height: 240px;
    border-radius: 20px;
    border: 1px solid rgba(151, 185, 255, 0.14);
    background: rgba(6, 12, 20, 0.42);
    color: #f2f5fb;
    padding: 18px;
    resize: vertical;
    line-height: 1.6;
}

.ats-copy-block textarea:focus {
    outline: none;
    border-color: rgba(171, 200, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(120, 172, 255, 0.08);
}

.ats-copy-actions,
.ats-action-row,
.ats-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ats-action-row {
    margin-top: 18px;
}

.ats-inline-upload {
    position: relative;
    overflow: hidden;
}

.ats-inline-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#ats-resume-info span::before {
    content: '\f15b';
}

.ats-progress {
    margin-top: 18px;
}

.ats-empty {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 24px;
    color: #90a4bb;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed rgba(151, 185, 255, 0.14);
}

.ats-empty i {
    font-size: 2.4rem;
    color: #8bb4ff;
    margin-bottom: 14px;
}

.ats-score-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(151, 185, 255, 0.12);
}

.ats-score-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.ats-score-ring svg {
    width: 100%;
    height: 100%;
}

.ats-score-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ats-score-label span {
    font-size: 2rem;
    font-weight: 700;
}

.ats-score-label small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.ats-score-copy h3 {
    margin: 8px 0 8px;
    padding: 0;
    border: 0;
}

.ats-score-copy p {
    margin-bottom: 14px;
    max-width: 640px;
    color: #d0dae7;
}

.ats-grade-pill,
.ats-meta-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(151, 185, 255, 0.1);
    font-size: 0.82rem;
}

.ats-grade-pill {
    font-weight: 700;
    width: fit-content;
}

.ats-stat-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.ats-stat-card,
.ats-block {
    background: rgba(5, 11, 18, 0.34);
    border: 1px solid rgba(151, 185, 255, 0.1);
    border-radius: 20px;
    padding: 18px;
}

.ats-stat-card small {
    display: block;
    color: #91a5bc;
    margin-bottom: 8px;
}

.ats-stat-card strong {
    font-size: 1.4rem;
}

.ats-report-stack {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ats-block h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #f4f7fb;
}

.ats-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ats-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    border: 1px solid rgba(151, 185, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.ats-tag.is-good {
    color: #85d48a;
    border-color: rgba(133, 212, 138, 0.3);
    background: rgba(76, 175, 80, 0.14);
}

.ats-tag.is-missing {
    color: #ffb0a8;
    border-color: rgba(244, 67, 54, 0.28);
    background: rgba(244, 67, 54, 0.14);
}

.ats-check-list,
.ats-rewrite-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ats-check-item,
.ats-rewrite-card {
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(151, 185, 255, 0.1);
}

.ats-check-item small,
.ats-rewrite-card small {
    display: block;
    color: var(--text-muted);
    margin-top: 6px;
}

.ats-check-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ats-check-item.is-good strong {
    color: #85d48a;
}

.ats-check-item.is-warn strong {
    color: #ffd166;
}

.ats-check-item.is-fail strong {
    color: #ff8a80;
}

.ats-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ats-list li {
    color: #d1d4da;
}

.ats-rewrite-card p {
    margin: 0;
}

.ats-rewrite-card .ats-rewrite-original {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ats-rewrite-card .ats-rewrite-new {
    color: #fff;
}

.ats-results-panel #ats-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .app-store-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-actions {
        flex-direction: column;
    }

    .app-btn,
    .app-actions .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 12px 15px;
        font-size: 0.8rem;
    }

    .ats-stat-grid,
    .ats-score-strip {
        grid-template-columns: 1fr;
    }

    .ats-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .ats-auth-row,
    .ats-auth-signed-in {
        flex-direction: column;
        align-items: stretch;
    }

    .ats-modal {
        padding: 16px;
    }

    .ats-modal-dialog {
        padding: 22px 18px;
    }
}

/* Fix "Back to Shop" button active state */
#transcriber-tool .filter-btn.nav-trigger,
#ats-tool .filter-btn.nav-trigger {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-muted) !important;
    outline: none !important;
}

#transcriber-tool .filter-btn.nav-trigger:hover,
#transcriber-tool .filter-btn.nav-trigger:focus-visible,
#ats-tool .filter-btn.nav-trigger:hover,
#ats-tool .filter-btn.nav-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Fix "Try in Browser" and "Download Pro" buttons */
.app-actions .filter-btn:focus,
.app-actions .filter-btn:active {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-muted) !important;
    outline: none !important;
}

.app-actions .filter-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Star Rating Cursor */
.star-rating-input i {
    cursor: pointer;
    transition: color 0.2s;
    margin-right: 5px;
}

.star-rating-input i:hover {
    transform: scale(1.2);
}

/* Fix Input Fonts */
input,
textarea,
button {
    font-family: inherit;
}
