
:root {
    --fz-primary: #00BFFF;
    --fz-primary-hover: #009FE3;
    --fz-bg: #05070D;
    --fz-sidebar: #090C14;
    --fz-card: #0D111C;
    --fz-input: #080B12;
    --fz-text: #FFFFFF;
    --fz-text-secondary: #A7B0C0;
    --fz-text-muted: #7F8A9D;
    --fz-border: #1B2230;
    --fz-success: #22C55E;
    --fz-warning: #F59E0B;
    --fz-error: #EF4444;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--fz-bg);
    color: var(--fz-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.doubts-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.doubts-page a {
    text-decoration: none;
}

.doubts-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    align-items: center;
    gap: 35px;
    min-height: 440px;
    margin-top: 30px;
    padding: 55px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 191, 255, .16), transparent 32%),
        linear-gradient(135deg, #0D1422, #080B13 75%);
    border: 1px solid var(--fz-border);
    border-radius: 22px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fz-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.doubts-hero h1 {
    margin: 18px 0;
    font-size: clamp(36px, 4.3vw, 57px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.12;
}

.doubts-hero h1 span,
.final-year-content h2 span {
    color: var(--fz-primary);
}

.doubts-hero p {
    max-width: 610px;
    color: var(--fz-text-secondary);
    font-size: 15px;
}

.doubts-hero .hero-highlight {
    padding-left: 13px;
    border-left: 3px solid var(--fz-primary);
    color: #DCE7F5;
    font-size: 13px;
}

.doubt-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 610px;
    margin-top: 25px;
    padding: 7px;
    background: var(--fz-input);
    border: 1px solid #263348;
    border-radius: 11px;
}

.doubt-search > i {
    padding-left: 10px;
    color: var(--fz-text-muted);
}

.doubt-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--fz-text);
    font: inherit;
    font-size: 13px;
}

.doubt-search input::placeholder {
    color: var(--fz-text-muted);
}

.doubt-search button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 17px;
    background: var(--fz-primary);
    border: 0;
    border-radius: 8px;
    color: #031019;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.doubt-search button:hover,
.primary-button:hover {
    background: var(--fz-primary-hover);
    transform: translateY(-1px);
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.hero-links a {
    color: var(--fz-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.hero-links a i {
    margin-right: 6px;
    color: var(--fz-primary);
}

.hero-links a:hover {
    color: var(--fz-primary);
}

.hero-decoration {
    position: relative;
    min-height: 285px;
}

.decoration-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 245px;
    height: 245px;
    border: 1px solid rgba(0, 191, 255, .18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.decoration-orbit::before,
.decoration-orbit::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(0, 191, 255, .12);
    border-radius: 50%;
}

.decoration-orbit::before {
    inset: 20px;
}

.decoration-orbit::after {
    inset: 42px;
}

.decoration-card {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 17px;
    background: rgba(13, 17, 28, .94);
    border: 1px solid #263448;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .25);
    color: #EAF3FF;
    font-size: 12px;
    font-weight: 600;
}

.decoration-card i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: rgba(0, 191, 255, .12);
    border-radius: 9px;
    color: var(--fz-primary);
    font-size: 15px;
}

.card-one {
    top: 20px;
    left: 0;
}

.card-two {
    top: 115px;
    right: 0;
}

.card-three {
    bottom: 15px;
    left: 10px;
}

.category-section,
.questions-section {
    padding: 65px 0 10px;
}

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 8px 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.8px;
}

.section-heading p {
    margin: 0;
    color: var(--fz-text-secondary);
    font-size: 13px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chip {
    padding: 10px 15px;
    background: var(--fz-card);
    border: 1px solid var(--fz-border);
    border-radius: 8px;
    color: var(--fz-text-secondary);
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.category-chip:hover,
.category-chip.active {
    background: rgba(0, 191, 255, .1);
    border-color: var(--fz-primary);
    color: var(--fz-primary);
}

.questions-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
}

.result-count {
    padding: 7px 10px;
    border: 1px solid var(--fz-border);
    border-radius: 7px;
    color: var(--fz-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.questions-list {
    display: grid;
    gap: 13px;
}

.question-card {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 18px;
    padding: 23px;
    background: linear-gradient(135deg, #0D111C, #090D15);
    border: 1px solid var(--fz-border);
    border-radius: 12px;
    transition: border-color .2s ease, transform .2s ease;
}

.question-card:hover {
    border-color: rgba(0, 191, 255, .45);
    transform: translateY(-2px);
}

.question-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: rgba(0, 191, 255, .09);
    border: 1px solid rgba(0, 191, 255, .17);
    border-radius: 10px;
    color: var(--fz-primary);
    font-size: 13px;
    font-weight: 800;
}

.question-category {
    color: var(--fz-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.question-content h3 {
    margin: 7px 0 9px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.question-content p {
    margin: 0;
    color: var(--fz-text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.question-tags span {
    padding: 5px 9px;
    background: #101827;
    border: 1px solid #202B3B;
    border-radius: 5px;
    color: var(--fz-text-muted);
    font-size: 10px;
}

.empty-state {
    padding: 45px 20px;
    text-align: center;
    background: var(--fz-card);
    border: 1px solid var(--fz-border);
    border-radius: 12px;
}

.empty-state > i {
    color: var(--fz-primary);
    font-size: 30px;
}

.empty-state h3 {
    margin-bottom: 5px;
}

.empty-state p {
    color: var(--fz-text-secondary);
    font-size: 13px;
}

.empty-state a {
    display: inline-block;
    margin-top: 10px;
    color: var(--fz-primary);
    font-size: 12px;
    font-weight: 700;
}

.final-year-section {
    position: relative;
    margin-top: 70px;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 191, 255, .12), transparent 35%),
        linear-gradient(130deg, #0D1523, #080C14);
    border: 1px solid #1C2B3D;
    border-radius: 18px;
}

.final-year-content {
    max-width: 850px;
}

.final-year-content h2 {
    margin: 12px 0;
    font-size: clamp(27px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.25;
}

.final-year-content > p {
    max-width: 750px;
    color: var(--fz-text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.action-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 25px 0;
}

.action-steps > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: rgba(5, 7, 13, .48);
    border: 1px solid var(--fz-border);
    border-radius: 9px;
}

.action-steps span {
    color: var(--fz-primary);
    font-size: 13px;
    font-weight: 800;
}

.action-steps p {
    margin: 0;
    color: #E5ECF5;
    font-size: 12px;
    font-weight: 600;
}

.primary-button {
    margin-top: 3px;
    padding: 13px 18px;
}

.final-year-content .disclaimer {
    margin-top: 18px;
    color: var(--fz-text-muted);
    font-size: 11px;
}

.ask-doubt-section {
    padding: 60px 0;
}

.ask-doubt-card {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 27px;
    background: var(--fz-card);
    border: 1px solid var(--fz-border);
    border-radius: 14px;
}

.ask-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    background: rgba(0, 191, 255, .1);
    border-radius: 12px;
    color: var(--fz-primary);
    font-size: 22px;
}

.ask-doubt-card h2 {
    margin: 5px 0;
    font-size: 22px;
    font-weight: 800;
}

.ask-doubt-card p {
    max-width: 650px;
    margin: 0;
    color: var(--fz-text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid var(--fz-primary);
    border-radius: 8px;
    color: var(--fz-primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s ease;
}

.secondary-button:hover {
    background: rgba(0, 191, 255, .1);
}

@media (max-width: 900px) {
    .doubts-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 40px;
    }

    .hero-decoration {
        display: none;
    }

    .ask-doubt-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .ask-doubt-card .secondary-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .doubts-page {
        width: calc(100% - 28px);
    }

    .doubts-hero {
        min-height: auto;
        margin-top: 18px;
        padding: 27px 20px;
        border-radius: 15px;
    }

    .doubts-hero h1 {
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .doubts-hero p {
        font-size: 13px;
    }

    .doubt-search {
        flex-wrap: wrap;
        gap: 8px;
    }

    .doubt-search input {
        flex: 1;
    }

    .doubt-search button {
        width: 100%;
    }

    .hero-links {
        gap: 13px;
    }

    .category-section,
    .questions-section {
        padding-top: 45px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .questions-heading {
        align-items: start;
        flex-direction: column;
    }

    .question-card {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 13px;
    }

    .question-number {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .question-content h3 {
        font-size: 14px;
    }

    .question-content p {
        font-size: 12px;
    }

    .final-year-section {
        margin-top: 45px;
        padding: 27px 20px;
        border-radius: 14px;
    }

    .final-year-content h2 {
        font-size: 29px;
    }

    .action-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .ask-doubt-section {
        padding: 40px 0;
    }

    .ask-doubt-card {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 21px;
    }

    .ask-doubt-card .secondary-button {
        grid-column: auto;
        justify-self: start;
    }
}

/* NAVBAR AND FOOTER - REMOVE LINK UNDERLINES */
.fz-navbar a,
.fz-navbar a:hover,
.fz-navbar a:focus,
.fz-navbar a:active,
.fz-navbar a:visited,
.fz-mobile-menu a,
.fz-mobile-menu a:hover,
.fz-mobile-menu a:focus,
.fz-mobile-menu a:active,
.fz-mobile-menu a:visited,
footer a,
footer a:hover,
footer a:focus,
footer a:active,
footer a:visited {
    text-decoration: none !important;
}

/* Preserve existing navbar link colors */
.fz-navbar a,
.fz-navbar a:visited,
.fz-navbar a:hover,
.fz-navbar a:focus,
.fz-navbar a:active,
.fz-mobile-menu a,
.fz-mobile-menu a:visited,
.fz-mobile-menu a:hover,
.fz-mobile-menu a:focus,
.fz-mobile-menu a:active {
    text-decoration: none !important;
}

/* Fix Login button text color */
.fz-navbar a,
.fz-navbar a:visited,
.fz-navbar a:hover,
.fz-navbar a:focus,
.fz-navbar a:active,
.fz-mobile-menu a,
.fz-mobile-menu a:visited,
.fz-mobile-menu a:hover,
.fz-mobile-menu a:focus,
.fz-mobile-menu a:active {
    color: inherit;
    text-decoration: none !important;
}

/* Keep Login button text white */
.fz-navbar .fz-nav-actions a,
.fz-navbar .fz-nav-actions a:visited,
.fz-navbar .fz-nav-actions a:hover,
.fz-navbar .fz-nav-actions a:focus,
.fz-navbar .fz-nav-actions a:active {
    color: #FFFFFF;
}
