html, body {
    margin: 0;
    height: 100%;
    font-family: "Poppins", sans-serif;
    /* background: #fffafa; */
    background: #f3eeee;
}

:root{
    /* Accent palette: cobalt + raspberry with subtle neutrals */
    --accent-1: #2f5af4; /* cobalt */
    --accent-2: #e11d48; /* raspberry */
    --accent-3: #0ea5e9; /* sky */
    --neutral-0: #ffffff;
    --neutral-1: #f8fafc;
    --neutral-2: #eef2f7;
    --shadow-1: 0 10px 25px rgba(0,0,0,0.08);
    --ring: 0 0 0 6px rgba(47,90,244,0.12);
}

.app {
    /* background-color: lightgreen; */
    min-height: 100%;
}

.navbar-container {
    height: 64px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    background-color: white;
    min-height: 64px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 16px;
    align-items: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .05);
    border-bottom: 1px solid #eee;
}

.navbar-left {
    position: absolute;
    left: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.navbar-logo-title {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    color: #333;
}

.navbar-logo-title:hover {
    background-color: #000000;
    color: white;
}

.navbar-logo-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    margin-right: 6px;
    border-radius: 2px;
    overflow: hidden;
}

.navbar-logo-text {
    font-size: 22px;
    font-weight: 500;
    /* color: #333; */
}

.navbar-mid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.navbar-right {
    position: absolute;
    right: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Pricing link - unified: blue filled with darker border, classic hover */
.pricing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    background: #2563eb; /* blue-600 */
    color: #ffffff;
    border: 2px solid #1e40af; /* darker blue border */
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    cursor: pointer;
}
.pricing-link:hover {
    background: #1e40af; /* blue-800 */
    border-color: #1e3a8a; /* slightly darker on hover */
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.28);
}

/* Auth + Credits */
.auth-section { display: flex; align-items: center; }

.credits-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #6b7280;
    border: 2px solid #000;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: default;
    font-family: inherit;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}
.credits-display.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.credits-display:hover { background: #000; border-color: #000; color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.credits-icon { font-size: 16px; transition: all .3s ease; display:inline-flex; align-items:center; }
.coin-icon { width: 1.5em; height: 1.5em; object-fit: contain; vertical-align: middle; display: inline-block; }
.credits-amount { letter-spacing: .5px; }
/* Disable selection for coin/credits badges and their children */
.credits-display, .credits-display *, .profile-credits-pill, .profile-credits-pill * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.login-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #6b7280;
    border: 2px solid #000;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    height: 40px;
    line-height: 1;
}
.login-button:hover { background: #000; border-color: #000; color: #fff; }
.login-button:hover svg { stroke: #fff; }

.profile-section { position: relative; }
.profile-container { position: relative;
     /* cursor: pointer; */
     }
.profile-picture { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; transition: all .3s ease; object-fit: cover; display:inline-block; }
.profile-picture:hover { transform: scale(1.05); border-color: #000; }

.profile-dropdown {
    position: absolute; top: 100%; right: 0; margin-top: 12px; background: white; border: 1px solid #e5e7eb;
    border-radius: 8px; box-shadow: 0 8px 16px rgba(0,0,0,.15); z-index: 1000; min-width: 300px; opacity: 0; visibility: hidden;
    transform: translateY(-8px); transition: all .3s ease; overflow: hidden;
}
.profile-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }

.profile-info { padding: 18px 20px; border-bottom: 1px solid #f3f4f6; background: #f8f9fa; }
.profile-info { display:flex; align-items:center; justify-content:space-between; }
.profile-name { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.profile-email { font-size: 13px; color: #6b7280; }

/* Conversation history */
.conversation-history-section { border-bottom: 1px solid #f3f4f6; }
.history-header { display:flex; justify-content:space-between; align-items:center; padding:16px 20px 12px; background:linear-gradient(135deg,#fafafa 0%,#f5f5f5 100%); border-bottom:1px solid #e5e7eb; }
.history-title { font-size:13px; font-weight:700; color:#111827; text-transform:uppercase; letter-spacing:.5px; }
.clear-all-btn { background:none; border:none; cursor:pointer; padding:6px 8px; border-radius:4px; color:#9ca3af; transition:all .3s ease; font-size:12px; }
.clear-all-btn:hover { background:#333; color:#fff; transform: scale(1.1); }
.conversation-list { max-height: 280px; overflow-y:auto; background:#fafafa; }
.conversation-item { display:flex; align-items:center; gap:12px; padding:16px 20px; cursor:pointer; transition:all .3s ease; border-bottom:1px solid #f0f0f0; background:#fff; margin:0 8px 4px; border-radius:6px; }
.conversation-item:hover { background:#000; border-color:#000; box-shadow:0 2px 6px rgba(0,0,0,.1); }
.conversation-item:last-child { border-bottom:none; margin-bottom:8px; }
.conversation-item.current { background:#f8f9fa; border-left:3px solid #000; font-weight:600; }
.conversation-info { flex:1; min-width:0; }
.conversation-title { font-size:13px; font-weight:600; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:3px; transition:color .3s ease; }
.conversation-time { font-size:11px; color:#6b7280; transition:color .3s ease; }
.conversation-item:hover .conversation-title, .conversation-item:hover .conversation-time { color:#fff; }
.conversation-actions { display:flex; gap:4px; }
.delete-conversation-btn { background:none; border:none; cursor:pointer; padding:6px; border-radius:4px; color:#9ca3af; transition:all .3s ease; opacity:1; }
.delete-conversation-btn:hover { background:#333; color:#fff; transform: scale(1.1); }
.loading-conversations, .no-conversations { padding:16px; text-align:center; font-size:12px; color:#6b7280; }
.show-all-container { padding:8px 20px 12px; border-top:1px solid #f0f0f0; background:#fafafa; }
.show-all-btn { width:100%; background:#fff; border:1px solid #e5e7eb; border-radius:6px; padding:8px 12px; font-size:12px; color:#6b7280; cursor:pointer; transition:all .3s ease; font-weight:500; }
.show-all-btn:hover { background:#f8f9fa; border-color:#d1d5db; color:#374151; transform: translateY(-1px); }
.profile-actions { padding:8px; }
.logout-button { width:100%; display:flex; align-items:center; gap:8px; background:#fff; color:#6b7280; border:1px solid #e5e7eb; padding:12px 16px; border-radius:8px; font-size:14px; font-weight:500; cursor:pointer; transition:all .3s ease; font-family:inherit; }
.logout-button:hover { background:#000; border-color:#000; color:#fff; }
.logout-button:hover svg { stroke:#fff; }

/* Credits pill inside profile header */
.profile-credits-pill { display:inline-flex; align-items:center; gap:8px; background:#fff; color:#6b7280; border:2px solid #000; padding:8px 12px; border-radius:8px; font-size:15px; font-weight:600; box-shadow:0 2px 6px rgba(0,0,0,.1); transition:all .3s ease; }
.profile-credits-pill:hover { background:#000; color:#fff; transform: translateY(-1px); }

.burger-menu {
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.2s ease;
}

.burger-menu:hover:not(.dropdown-hovered) {
    background-color: #000000;
}

.burger-menu:hover:not(.dropdown-hovered) .burger-menu-image {
    filter: brightness(0) invert(1);
}

.burger-menu-image {
    width: 24px;
    height: 24px;
    display: block;
    transition: filter 0.2s ease;
}

.burger-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.burger-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.burger-menu-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.burger-menu-item:last-child {
    border-bottom: none;
}

.burger-menu-item:hover {
    background: #000000;
    color: white;
}

.burger-menu-item:first-child {
    border-radius: 8px 8px 0 0;
}

.burger-menu-item:last-child {
    border-radius: 0 0 8px 8px;
}

.main-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    margin: 40px auto 0;
    gap: 24px;
    max-width: 1200px;
    padding: 0px 32px 40px;
}

.header-upper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-title {
    font-size: 42px;
    line-height: 1.33;
    margin: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

.header-middle {
    width: 100%;
}

.header-middle-inner-1 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-middle-inner-2 {
    display: flex;
    width: 100%;
    min-height: 300px;
    height: auto;
}

.main-container-area {
    position: relative;
    border-radius: 8px;
    background-color: #c52323;
    /* background: radial-gradient(ellipse at left top, #e85432 0, #e30909 100%); */
    width: 100%;
    min-height: 310px;
    height: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.183);
    /* border: 4px solid rgb(167, 0, 0); */
    /* filter: drop-shadow(0px 50px 67px rgba(255, 0, 0, 0.306)); */
}

.main-area-inner-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 8px;
    border: 2px solid white;
    border-radius: 4px;
    background-color: rgba(216, 36, 36, 0.632);
    /* background-color: rgb(255, 0, 0); */
}

.main-container-area-elements {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-container-area-elements-text-above {
    color: white;
    font-size: 19px;
    font-weight: 100;
    margin-bottom: 24px;
    text-align: center;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    padding-bottom: 25px;
    position: relative;
}

.error-message {
    position: absolute;
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    /* border-left: 4px solid #dc2626; */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.276);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.error-close-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.error-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.input-controls {
    display: flex;
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.youtube-input {
    flex: 1;
    padding: 14px 16px;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.youtube-input:focus {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.276);
}

.youtube-input:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.276);
}

.get-transcript-btn {
    padding: 14px 24px;
    background: #ffffff;
    color: black;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.get-transcript-btn:hover {
    color: white;
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.276);
}

.get-transcript-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

/* Language selection removed - automatically uses English */

/* Features section */
.header-lower {
    width: 100%;
    margin-top: 32px;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.check-icon path {
    fill: #22c55e;
}

.feature-item span {
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    line-height: 1.4;
}

/* Loading spinner for button */
.get-transcript-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.get-transcript-btn.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium toast notification */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 12px; }
.toast {
    display:flex; align-items:flex-start; gap:12px; min-width: 320px; max-width: 420px; padding:14px 16px; border-radius:12px;
    background: linear-gradient(135deg,#0ea5e9 0%,#2563eb 100%);
    color:#fff; box-shadow:0 12px 30px rgba(37,99,235,.35), 0 2px 8px rgba(0,0,0,.15);
    border: 1px solid rgba(255,255,255,.18);
    transform: translateY(-10px); opacity: 0; transition: all .35s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .icon { width:28px; height:28px; border-radius:50%; background: rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; font-size:16px; }
.toast .content { flex:1; }
.toast .title { font-weight:700; font-size:14px; letter-spacing:.2px; }
.toast .message { font-size:13px; opacity:.95; margin-top:4px; }
.toast .close-btn { background: rgba(255,255,255,.15); border: none; color:#fff; width:28px; height:28px; border-radius:8px; cursor:pointer; transition: all .2s ease; }
.toast .close-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-1px); }

/* Responsive design */
@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: center;
    }
    /* Home-specific responsive tweaks */
    .home-page .navbar { padding: 0 12px; }
    .home-page .navbar-logo-image { width: 28px; height: 28px; margin-right: 6px; }
    /* Shorten brand label on mobile: hide original text (with .com) and inject a shorter variant */
    .home-page .navbar-logo-text { font-size: 0; line-height: 1; }
    .home-page .navbar-logo-text::after { content: "YouTube Transcript Gen"; font-size: 16px; font-weight: 600; color: #333; }
    .home-page .pricing-link { display:none; }
    .home-page .auth-section { display:flex; }
    .home-page .navbar-right { gap: 8px; }
    .home-page .navbar-container { height: 56px; }
    .home-page .navbar { min-height: 56px; }
    /* Contact page: reuse compact brand and navbar sizing */
    .contact-page .navbar { padding: 0 12px; }
    .contact-page .navbar-logo-image { width: 28px; height: 28px; margin-right: 6px; }
    .contact-page .navbar-logo-text { font-size: 0; line-height: 1; }
    .contact-page .navbar-logo-text::after { content: "YouTube Transcript Gen"; font-size: 16px; font-weight: 600; color: #333; }
    .contact-page .navbar-container { height: 56px; }
    .contact-page .navbar { min-height: 56px; }
    /* Prevent horizontal overflow on mobile */
    body.contact-page { overflow-x: hidden; }
    .home-page .main-header { margin: 20px auto 0; padding: 0 16px 28px; gap: 16px; }
    .home-page .header-title { font-size: 28px; line-height: 1.25; }
    .home-page .main-container-area { min-height: 0; padding: 8px; }
    .home-page .main-area-inner-box { position: absolute; inset: 8px; border-width: 1px; padding: 12px; }
    .home-page .input-container { max-width: 520px; width: 100%; margin: 0 auto; padding-bottom: 10px; }
    .home-page .main-container-area-elements-text-above { font-size: 16px; margin-bottom: 14px; }
    .home-page .input-controls { flex-direction: column; gap: 10px; }
    .home-page .youtube-input { font-size: 15px; padding: 12px 14px; }
    .home-page .get-transcript-btn { width: 100%; padding: 12px 14px; font-size: 15px; }
    .home-page .error-message { position: static; margin-top: 6px; }
    .home-page .features-container { gap: 16px; }
    .home-page .features-column { align-items: center; text-align: center; }
    .home-page .feature-item { justify-content: center; }
    .home-page .feature-item span { font-size: 15px; text-align: center; }
    .home-page .check-icon { width: 18px; height: 18px; }
    .home-page .index-bottom { padding: 24px 12px 48px; gap: 28px; }
    .home-page .section-title { font-size: 22px; }
    .home-page .rating-card, .home-page .about-band, .home-page .use-band, .home-page .faq-band { padding: 16px; border-radius: 12px; }
    .home-page .rating-input .star { width: 40px; height: 40px; font-size: 24px; }
    .home-page .about-grid, .home-page .use-grid { grid-template-columns: 1fr; }
    .home-page .highlight-list { gap: 8px; }
    .home-page .chip { font-size: 12px; padding: 6px 10px; }
    .home-page .site-footer .footer-inner { padding: 24px 16px; }
}

/* Very small phones */
@media (max-width: 380px) {
    /* Keep the shortened brand visible even on very small screens */
    .home-page .navbar-logo-text { display:inline-block; }
    .home-page .navbar-logo-text::after { font-size: 14px; }
    .home-page .header-title { font-size: 24px; }
    .home-page .rating-input .star { width: 36px; height: 36px; font-size: 22px; }
    .contact-page .navbar-logo-text { display:inline-block; }
    .contact-page .navbar-logo-text::after { font-size: 14px; }
    .contact-page .header-title { font-size: 24px; }
}

/* Bottom sections (below the fold) */
.index-bottom { margin-top: 10px; padding: 40px 16px 80px; display:flex; flex-direction:column; align-items:center; gap: 40px; }
.section-title { font-size: 28px; font-weight: 700; color: #1a1a1a; text-align: center; margin: 0 0 16px; }
.section-title { position: relative; }
.section-title::after { content: ""; display:block; width:64px; height:3px; margin:10px auto 0; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); border-radius:2px; transition: width .25s ease; }
.section-title:hover::after { width:96px; }
.rating-section, .about-section, .use-cases-section, .faq-section { width: 100%; max-width: 1000px; }
.rating-card, .text-card { background: var(--neutral-0); border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: var(--shadow-1); padding: 24px; backdrop-filter: saturate(1.15); }

/* Rating banded look + layout */
.rating-card { background: linear-gradient(180deg, rgba(47,90,244,0.05), rgba(225,29,72,0.04)); border: 1px solid rgba(0,0,0,0.05); }
.rating-layout { display:grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items:center; }
.rating-left { display:flex; flex-direction:column; align-items:center; }
.rating-right { display:flex; align-items:center; justify-content:center; }
.rating-note { display:flex; align-items:flex-start; gap: 12px; background: linear-gradient(180deg, #fff, #f8fafc); border:1px solid #e5e7eb; border-radius: 12px; padding: 14px; color:#374151; box-shadow: 0 6px 16px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.rating-note:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.rating-note .note-icon { color: var(--accent-1); width: 36px; height:36px; min-width:36px; border-radius: 10px; background:#fff; border:1px solid #e5e7eb; display:flex; align-items:center; justify-content:center; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.rating-note .note-text { font-size: 14px; line-height: 1.7; }

@media (max-width: 860px){
    .rating-layout { grid-template-columns: 1fr; }
}

/* Rating UI */
.rating-summary { display:flex; flex-direction:column; align-items:center; gap:8px; margin-bottom: 14px; }
.rating-stars-readonly { position: relative; display:inline-block; font-size: 28px; line-height: 1; }
.rating-stars-readonly .stars-bg { color: #e5e7eb; }
.rating-stars-readonly .stars-fill { position:absolute; top:0; left:0; white-space:nowrap; overflow:hidden; color: #f59e0b; pointer-events:none; }
.rating-numbers { color: #374151; font-size: 14px; display:flex; align-items:center; gap:6px; }
.rating-numbers .avg { font-weight: 700; font-size: 16px; }

.rating-input { display:flex; gap: 6px; align-items:center; justify-content:center; }
.rating-input .star { font-size: 28px; line-height: 1; background: linear-gradient(180deg,#fafafa,#fff); border: 1px solid #e5e7eb; color: #e5e7eb; border-radius: 10px; width: 44px; height: 44px; display:grid; place-items:center; cursor:pointer; transition: all .2s ease; padding: 0; }
.rating-input .star:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.rating-input .star.active, .rating-input .star.selected { color: #f59e0b; border-color: #f59e0b; box-shadow: 0 10px 24px rgba(245,158,11,.35); }
.rating-status { margin-top: 10px; font-size: 13px; text-align:center; color:#374151; }

.use-cases-list { margin: 0; padding-left: 18px; color:#374151; line-height:1.7; }
.use-cases-list li { margin: 6px 0; }

/* Features: subtle hover */
.feature-item { border-radius: 10px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; padding: 8px 10px; }
.feature-item:hover { background: rgba(255,255,255,.7); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.feature-item:hover .check-icon path { fill: #16a34a; }

/* FAQ */
.faq-band { background: linear-gradient(180deg, rgba(47,90,244,0.06), rgba(225,29,72,0.05)); border: 1px solid rgba(0,0,0,0.05); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-1); }
.faq-list { display:flex; flex-direction:column; gap: 8px; }
.faq-item { border: 1px dashed rgba(0,0,0,0.12); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.98)); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.faq-question { width: 100%; text-align: left; padding: 16px 18px; background: transparent; border: none; font-size: 17px; font-weight:600; color:#111827; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.faq-question .q-left { display:flex; align-items:center; gap: 10px; }
.faq-question .q-ic { color: var(--accent-1); }
.faq-question .chev { transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 18px 18px; color:#374151; font-size: 15px; line-height: 1.85; }
.faq-question:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; background: rgba(255,255,255,.85); }

/* About band (no white boxes) */
.about-band { background: linear-gradient(180deg, rgba(197,35,35,0.04), rgba(47,90,244,0.05)); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-1); }
.about-grid { display:grid; grid-template-columns: 2fr 0.8fr; gap: 20px; align-items:start; }
.about-left .lead { font-size: 18px; line-height: 1.8; color:#111827; margin: 0 0 8px; }
.about-left p { color:#374151; line-height:1.8; margin: 0 0 8px; }
.about-narrative { margin-top: 6px; color:#374151; }
.about-narrative p { margin: 10px 0; line-height: 1.95; font-size: 15.5px; }
.about-narrative strong, .about-narrative em { color:#111827; }
.about-points { margin: 10px 0 0; padding: 0; list-style: none; display:flex; flex-direction:column; gap: 10px; }
.about-points li { display:grid; grid-template-columns: 18px 1fr; gap:10px; align-items:start; color:#374151; line-height: 1.8; background: linear-gradient(180deg, #fff, #f8fafc); border:1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 14px rgba(0,0,0,.05); }
.about-points li .icon-14 { margin-top: 2px; }
.highlight-list { list-style: none; padding: 0; margin: 0; display:flex; flex-wrap: wrap; gap: 10px; }
.chip { display:inline-flex; align-items:center; gap:8px; background: linear-gradient(180deg, #fff, #f8fafc); border: 1px solid #e5e7eb; color:#111827; padding:8px 12px; border-radius:999px; font-size: 13px; font-weight:600; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform .15s ease, box-shadow .2s ease; }
.chip:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.icon-14 { color: var(--accent-1); display:inline-block; vertical-align: -2px; }

/* Use cases band (no white boxes) */
.use-band { background: linear-gradient(180deg, rgba(47,90,244,0.05), rgba(225,29,72,0.04)); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-1); }
.use-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.use-item { display:flex; gap: 12px; align-items:flex-start; padding: 8px; border-radius: 12px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.use-item:hover { background: rgba(255,255,255,.6); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.icon-bubble { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(180deg, #fff, #f8fafc); border:1px solid #e5e7eb; display:flex; align-items:center; justify-content:center; box-shadow: 0 2px 6px rgba(0,0,0,0.05); color: var(--accent-2); }
.icon-18 { color: var(--accent-2); display:inline-block; }
.use-text { color:#374151; line-height: 1.7; }

/* Non-selectable UI for bottom boxes and icons */
.rating-card, .about-band, .use-band, .faq-band,
.rating-card *, .about-band *, .use-band *, .faq-band *,
.icon-bubble, .icon-bubble *, .chip, .chip *, .about-points li, .about-points li * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .use-grid { grid-template-columns: 1fr; }
}

/* Enhanced layouts */
.about-card { background:#fff; border: 1px solid #e5e7eb; border-radius:10px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); padding:24px; }
.about-grid { display:grid; grid-template-columns: 2fr 0.8fr; gap: 20px; align-items: start; }
.about-left .lead { font-size: 17px; line-height: 1.8; color:#111827; margin-top:0; }
.about-left p { color:#374151; line-height:1.8; }
.highlight-list { list-style: none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap: 10px; }
.chip { display:inline-block; background:#f8f9fa; border:1px solid #e5e7eb; color:#111827; padding:8px 10px; border-radius:999px; font-size: 13px; font-weight:600; }
.keyword-line { margin-top: 14px; color:#6b7280; font-size: 13px; }
.rating-flex { display:flex; align-items:center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.faq-question .chev { transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .chev { transform: rotate(180deg); }

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

/* ======= Site Footer ======= */
.site-footer { margin-top: 64px; background: #0b1220; color: #a6b0c3; }
.site-footer .footer-inner { max-width: 1100px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.site-footer .footer-logo img { width: 28px; height: 28px; }
.site-footer .footer-tagline { margin-top: 8px; font-size: 14px; color: #a6b0c3; }
.site-footer .links nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer .meta { text-align: right; }
.site-footer .location { font-size: 14px; margin-bottom: 6px; }
.site-footer .copyright { font-size: 13px; color: #94a3b8; }
@media (max-width: 800px) {
    .site-footer .footer-inner { grid-template-columns: 1fr; text-align: left; }
    .site-footer .meta { text-align: left; }
}
