/* Justice Scales - Tech/Grid Design System */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-main: #030304;
    --bg-sec: #08080a;

    --accent: #3b82f6;
    /* Electric Blue */
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.4);

    --text-primary: #ffffff;
    --text-sec: #9ca3af;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.5);

    --grid-color: rgba(255, 255, 255, 0.03);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;

    /* Tech Grid Background */
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Gradient Overlay for depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

/* ------------------------------------------------------------------
   NAVBAR (Technical, Top-Aligned)
   ------------------------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(3, 3, 4, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: 0.3s;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn.btn-signup {
    border: 1px solid var(--border);
    padding: 10px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    background: transparent;
    transition: 0.3s;
}

.nav-btn.btn-signup:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ------------------------------------------------------------------
   HERO SECTION (Refined)
   ------------------------------------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background Image with Blur & Shadow Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    filter: blur(12px) brightness(0.4);
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-align: left;
    margin-left: 8%;
    /* Added breathing room from left */
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tag-badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(4px);

    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;

    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.blue-text {
    color: var(--accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-sec);
    max-width: 600px;
    margin-bottom: 50px;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;

    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;

    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.btn-hero-primary {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    transform: translateX(5px);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-hero-secondary:hover {
    border-color: white;
}

.online-count {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-sec);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

/* ------------------------------------------------------------------
   FEATURES (Tech Cards)
   ------------------------------------------------------------------ */
/* ------------------------------------------------------------------
   FEATURES (Tech Cards)
   ------------------------------------------------------------------ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Increased gap */
    /* Removed background border logic to allow separate cards */
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-sec);
    padding: 40px;
    transition: 0.3s;
    border: 1px solid var(--border);
    border-radius: 24px;
    /* Soft Radius */
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--bg-sec);
    border-color: var(--accent);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
    /* Glow */
    transform: translateY(-5px);
}

.feature-img {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    /* Soft Radius */
    padding: 10px;
    border: 1px solid var(--border);
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.7;
    transition: 0.3s;
}

.feature-card:hover .feature-img img {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--accent));
}

.f-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.f-desc {
    color: var(--text-sec);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------------
   PRODUCTS (Premium Glass & Glow V2)
   ------------------------------------------------------------------ */
.products-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 80px;
    text-align: center;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.products-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--accent);
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.prod-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 350px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    /* Ultra Soft Radius */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: visible;
    /* To allow glow to spill */
}

/* Hover Lift & Glow */
.prod-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 30px -5px rgba(59, 130, 246, 0.2);
}

.prod-thumb {
    height: 240px;
    position: relative;
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
}

.prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.prod-card:hover .prod-thumb img {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.st-online {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.st-maint {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 32px 40px;
    position: relative;
    z-index: 2;
}

.prod-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.prod-sub {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.prod-desc {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    height: 300px;
    /* Fixed height for extended content */
    overflow-y: auto;
    /* Enable vertical scroll */
    padding-right: 5px;
    /* Space for scrollbar */
}

/* Custom Scrollbar for Description */
.prod-desc::-webkit-scrollbar {
    width: 4px;
}

.prod-desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.prod-desc::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.prod-desc::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* Custom Select styling */
.price-select-wrapper {
    margin-top: auto;
    position: relative;
    margin-bottom: 20px;
}

.price-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
    transition: 0.3s;
}

.price-select:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Fake arrow for select */
.price-select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sec);
    font-size: 0.8rem;
    pointer-events: none;
}

.prod-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.price-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    display: none;
    /* Hidden as it's in dropdown now or we can structure differently */
}

.btn-buy {
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -5px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -5px var(--accent-glow);
}

/* System Reqs Link */
.sys-reqs {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-sec);
    text-decoration: underline;
    opacity: 0.7;
    margin-bottom: 20px;
    transition: 0.2s;
}

.sys-reqs:hover {
    color: white;
}

/* ------------------------------------------------------------------
   PLANS (Minimalist Table)
   ------------------------------------------------------------------ */
.plans-header {
    text-align: left;
    margin-bottom: 60px;
    border-left: 5px solid var(--accent);
    padding-left: 24px;
    border-radius: 4px;
}

.plans-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.plans-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 24px;
    /* Round table corners */
    overflow: hidden;
}

.plans-table th,
.plans-table td {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.plans-table th {
    background: var(--bg-sec);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-sec);
}

.col-benefit {
    color: white !important;
    font-weight: 700;
    width: 40%;
}

.col-regular,
.col-vip {
    text-align: center;
}

.vip-col {
    background: rgba(59, 130, 246, 0.05);
}

.col-vip {
    color: var(--accent);
}

.check {
    color: white;
}

.cross {
    color: #333;
}

/* ------------------------------------------------------------------
   WHY CHOOSE (Revamped Cards)
   ------------------------------------------------------------------ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: linear-gradient(145deg, #0a0a0c, #050506);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    opacity: 0;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 1.8rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: 0.3s;
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.why-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-sec);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: var(--text-sec);
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {

    .features-grid,
    .product-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto 40px;
        border: none;
        padding: 0;
    }

    .plans-header,
    .products-title {
        text-align: center;
        border: none;
        padding: 0;
    }

    .hero::before {
        display: none;
    }
}

/* ------------------------------------------------------------------
   AUTH PAGES (Improvised & Matches Main UI)
   ------------------------------------------------------------------ */
.auth-body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Grid Background */
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Auth Card Glassmorphism */
.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.auth-box {
    background: var(--bg-sec);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Card Glow Effect */
.auth-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, white, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-sub {
    color: var(--text-sec);
    font-size: 0.9rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-sec);
    font-weight: 500;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-auth {
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-auth:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-sec);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.auth-link {
    color: var(--accent);
    font-weight: 600;
    transition: 0.2s;
}

.auth-link:hover {
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Background Effect */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(140px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

/* Reviews Scroll System */
.reviews-scroll-container {
    max-height: 600px;
    /* Limits height to approx 2 rows */
    overflow-y: auto;
    /* Enables vertical scroll */
    padding-right: 10px;
    /* Space for scrollbar */
    border-radius: 16px;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(0, 0, 0, 0.3);
}

.reviews-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.reviews-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.reviews-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 3px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;

    /* Layout Enforced */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: 100%;
}

.review-card>* {
    /* Prevent any child from pushing content down */
    margin-top: 0;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.review-card h4 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    margin-top: 0;
    margin-bottom: 5px;
    /* Tighter spacing */
}

.review-content-scroll {
    max-height: 100px;
    /* scroll only if strictly needed */
    overflow-y: auto !important;
    padding-right: 2px;
    margin-bottom: 0;
    /* Align tightly */
    width: 100%;
    align-self: flex-start;

    /* Text wrapping */
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;

    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.review-content-scroll::-webkit-scrollbar {
    width: 4px;
}

.review-content-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.review-content-scroll::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 2px;
}

.review-card>div:last-child {
    margin-top: auto !important;
    width: 100%;
    padding-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 100px;
    /* Increased spacing */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}