:root {

    --bg: #0f1117;
    --surface: #171a23;
    --surface-light: #20242f;

    --primary: #6366f1;
    --primary-hover: #7477ff;

    --text: #f3f4f6;
    --muted: #9ca3af;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

}

body {
    color: #f8fafc;
    font-family:"Inter",sans-serif;

}

.card-dark {
    background: #111827;
    border: 1px solid #374151;
}

.form-label,
label {
    color: #f8fafc;
    font-weight: 600;
}

.form-control {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

.text-secondary {
    color: #cbd5e1 !important;
}

.card {
    background-color: #111827 !important;
    color: #f8fafc !important;
}




/* Dashboard */
.dashboard-wrap {
    background: #f7f8fb;
    min-height: 100vh;
}

.dash-hero {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.eyebrow {
    font-size: 16px3;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #6366f1;
    font-weight: 800;
}

.dash-title {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.dash-subtitle,
.muted {
    color: #6b7280;
}

.panel,
.metric-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.055);
}

.panel h3 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 4px;
}

.metric-card span,
.metric-card small {
    display: block;
    color: #6b7280;
}

.metric-card strong {
    display: block;
    color: #111827;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin: 10px 0;
}

.btn-primary {
    background: #6366f1;
    border: none;
    border-radius: 14px;
    font-weight: 700;
}

.btn-primary:hover {
    background: #4f46e5;
}

.level-pill {
    background: #eef2ff;
    color: #4f46e5;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.level-row {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
}

.level-row strong {
    display: block;
    color: #111827;
}

.clean-progress {
    height: 12px;
    background: #eef0f4;
    border-radius: 999px;
}

.clean-progress .progress-bar {
    background: #6366f1;
    border-radius: 999px;
}

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.analysis-item {
    display: grid;
    grid-template-columns: 58px 1fr 80px 100px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background: #f7f8fb;
    transition: .15s ease;
}

.analysis-item:hover {
    transform: translateY(-1px);
    background: #eef2ff;
}

.analysis-thumb {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analysis-main strong,
.analysis-score strong,
.analysis-time strong {
    display: block;
    color: #111827;
}

.analysis-main span,
.analysis-score small,
.analysis-time small {
    color: #6b7280;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #f7f8fb;
    border-radius: 20px;
}

.mini-chart {
    height: 190px;
    display: flex;
    align-items: end;
    gap: 18px;
    margin-top: 24px;
}

.bar-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 8px;
}

.bar {
    width: 100%;
    background: #6366f1;
    border-radius: 999px 999px 8px 8px;
    min-height: 20px;
}

.bar-wrap small {
    color: #6b7280;
    font-weight: 700;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.dna-item {
    background: #f7f8fb;
    border-radius: 16px;
    padding: 14px;
    font-weight: 700;
    color: #111827;
}

.dna-item span {
    color: #16a34a;
    margin-right: 8px;
}

.coach-panel {
    background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.streak-icon {
    font-size: 50px;
}

.trend-list,
.community-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trend-item,
.community-item {
    display: flex;
    justify-content: space-between;
    background: #f7f8fb;
    border-radius: 14px;
    padding: 12px 14px;
    color: #111827;
}

.trend-item .up {
    color: #16a34a;
}

.trend-item .down {
    color: #dc2626;
}

.challenge-panel {
    background: #111827;
    color: white;
}

.challenge-panel h3,
.challenge-panel p {
    color: white;
}

.challenge-panel .eyebrow {
    color: #a5b4fc;
}

.small-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 768px) {
    .dash-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-title {
        font-size: 32px;
    }

    .analysis-item {
        grid-template-columns: 50px 1fr;
    }

    .analysis-score,
    .analysis-time {
        display: none;
    }

    .dna-grid {
        grid-template-columns: 1fr;
    }
}

/* Videos */

.upload-zone {
    display: block;
    background: #f7f8fb;
    border: 2px dashed #d7dbe7;
    border-radius: 24px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: .18s ease;
}

.upload-zone:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.upload-icon {
    font-size: 58px;
    margin-bottom: 15px;
}

.upload-zone h4 {
    color: #111827;
    font-weight: 800;
    margin-bottom: 6px;
}

.upload-zone p {
    color: #6b7280;
    margin: 0;
}

.selected-file {
    background: #eef2ff;
    color: #111827;
    padding: 14px 18px;
    border-radius: 14px;
}

.clean-input {
    background: #f7f8fb;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    color: #111827;
}

.clean-input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}

.form-label {
    font-weight: 700;
    color: #111827;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #111827;
    font-weight: 700;
}

.example-score {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-top: 18px;
}

.example-score span {
    color: #6b7280;
    display: block;
}

.example-score strong {
    color: #111827;
    font-size: 34px;
    font-weight: 800;
}

/* View Video */

.video-shell {
    background: #111827;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    justify-content: center;
}

.review-video {
    width: 100%;
    max-height: 650px;
    border-radius: 18px;
    background: #000;
}

.best-opening-panel {
    background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.best-time {
    font-size: 48px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
    margin-bottom: 16px;
}

.mini-stat {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
}

.mini-stat span,
.score-tile span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.mini-stat strong {
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.score-tile {
    background: #f7f8fb;
    border-radius: 18px;
    padding: 18px;
}

.score-tile strong {
    display: block;
    color: #111827;
    font-size: 34px;
    font-weight: 900;
    margin-top: 6px;
}

.idea-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.idea-item {
    background: #f7f8fb;
    border-radius: 16px;
    padding: 14px 16px;
    color: #111827;
    font-weight: 700;
}

.risk-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #111827;
    font-weight: 700;
}

.timeline-item {
    background: #f7f8fb;
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
}

.timeline-item strong {
    display: block;
    color: #111827;
}

.timeline-item span {
    color: #6b7280;
}

@media (max-width: 768px) {
    .score-grid {
        grid-template-columns: 1fr;
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .best-time {
        font-size: 34px;
    }
}

.hook-time {
    font-size: 34px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}


/* Community */
.community-card-link {
    text-decoration: none;
    color: inherit;
}

.community-card {
    transition: .18s ease;
}

.community-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.09);
}

.community-thumb {
    background: #111827;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

.community-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.community-quote {
    font-size: 14px;
    line-height: 1.35;
}

.badge-soft {
    background: #eef2ff;
    color: #4f46e5;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.score-pill {
    background: #111827;
    color: white;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(247, 248, 251, 0.92);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-card {
    background: white;
    border-radius: 24px;
    padding: 38px;
    width: min(420px, 90vw);
    text-align: center;
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.14);
}

.loading-card h3 {
    color: #111827;
    font-weight: 900;
}

.loading-card p {
    color: #6b7280;
}

.profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-avatar-empty {
    background: #f7f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.profile-main {
    min-width: 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 14px;
    flex: 1;
    max-width: 620px;
}

.profile-stat {
    background: #f7f8fb;
    border-radius: 18px;
    padding: 16px;
}

.profile-stat span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.profile-stat strong {
    display: block;
    color: #111827;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .profile-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-stats {
        max-width: none;
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-avatar {
        width: 76px;
        height: 76px;
    }

    .profile-stat {
        padding: 12px;
    }

    .profile-stat strong {
        font-size: 24px;
    }
}
.btn-profile {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    transition: .2s;
}

.btn-profile:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.btn-profile {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    border-radius: 14px;
    font-weight: 700;

}

.btn-profile:hover {
    background: #059669;
    border-color: #059669;
}




/* HOME */

.hero-product-card {
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.12);
}

.hero-preview {
    background: #111827;
    color: white;
}

.community-banner {
    background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.btn-profile {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
}

.btn-profile:hover {
    background: #059669;
    border-color: #059669;
    color: #fff;
}



/* All Reviews */
.analysis-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.home-hero-full {
    position: relative;
    width: 100%;
    /* min-height: 720px; */
    overflow: hidden;
    margin-top: 0;
    border-radius: 20px;
    margin-bottom: 30px;
    padding:20px;
}

.home-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 12, 20, 0.86) 0%,
        rgba(10, 12, 20, 0.58) 45%,
        rgba(10, 12, 20, 0.14) 100%
    );
    z-index: 2;
}

.home-hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
}

.home-hero-copy {
    max-width: 680px;
    color: #fff;
}

.home-hero-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 26px;
}

.home-hero-copy h1 {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    line-height: 0.98;
    margin: 0;
}

.home-hero-copy p {
    font-size: 22px;
    line-height: 1.45;
    margin-top: 26px;
    color: rgba(255,255,255,0.92);
}

@media (max-width: 768px) {
    .home-hero-full,
    .home-hero-inner {
    }

    .home-hero-copy p {
        font-size: 18px;
    }
}   

.site-footer{
    background:#0f172a;
    color:#cbd5e1;
    margin-top:100px;
    padding:70px 0 30px;
}

.footer-logo{
    color:#fff;
    font-size:2rem;
    font-weight:800;
    margin-bottom:18px;
}

.footer-text{
    line-height:1.8;
    max-width:500px;
}

.site-footer h5{
    color:#fff;
    margin-bottom:18px;
    font-weight:700;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a,
.footer-contact a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:#fff;
}

.footer-contact{
    line-height:1.8;
}

.site-footer hr{
    margin:50px 0 25px;
    border-color:#334155;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    color:#94a3b8;
    font-size:.95rem;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f7f8fb;
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: .15s ease;
}

.notification-item:hover {
    transform: translateY(-1px);
    background: #eef2ff;
}

.notification-unread {
    border: 1px solid #6366f1;
    background: #eef2ff;
}

.notification-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notification-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-main strong {
    color: #111827;
    font-size: 16px;
}

.notification-main span,
.notification-main small {
    color: #6b7280;
}
.comments-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
}

.comments-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.comments-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 105%);
    width: min(760px, 100%);
    height: min(82vh, 760px);
    background: #fff;
    border-radius: 28px 28px 0 0;
    z-index: 9999;
    box-shadow: 0 -20px 70px rgba(15, 23, 42, .24);
    display: flex;
    flex-direction: column;
    transition: .28s ease;
    overflow: hidden;
}

.comments-sheet.show {
    transform: translate(-50%, 0);
}

.comments-handle {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #d1d5db;
    margin: 12px auto 4px;
}

.comments-header {
    padding: 18px 24px;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comments-header h3 {
    margin: 0;
    font-weight: 900;
    color: #111827;
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.comment-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.comment-meta a {
    color: #111827;
    font-weight: 900;
    text-decoration: none;
}

.comment-meta span {
    color: #6b7280;
    font-size: 13px;
}

.comment-body p {
    margin: 0;
    color: #374151;
    line-height: 1.45;
}

.comments-form {
    padding: 16px;
    border-top: 1px solid #eef2f7;
    display: flex;
    gap: 10px;
    background: #fff;
}

.comments-form input {
    flex: 1;
}

.comments-login {
    padding: 16px;
    border-top: 1px solid #eef2f7;
}


html, body {
  touch-action: manipulation; /* Disables double-tap zoom, but allows scrolling */
  /* If you want to disable ALL touch actions like panning/zooming, use: touch-action: none; */
}
