:root {
    /* Color Palette */
    --bg-main: #060609;
    --bg-secondary: #0c0b11;
    --bg-card: rgba(18, 17, 26, 0.7);
    --primary: #d92828;
    --primary-glow: rgba(217, 40, 40, 0.5);
    --secondary: #f63b3b;
    --secondary-glow: rgba(246, 59, 59, 0.5);
    --accent: #f43f3f;
    --text-primary: #f8fafc;
    --text-secondary: #b89494;
    --text-muted: #694747;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --success: #10b981;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Animation */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 40, 40, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-success {
    color: var(--success);
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity var(--transition);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--primary-glow), 0 0 15px var(--secondary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(109, 40, 217, 0.1);
    transform: translateY(-2px);
}

.btn-telegram {
    background: linear-gradient(90deg, #0088cc, #005580);
    color: white;
    position: relative;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 1;
}

.btn-telegram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-telegram:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 136, 204, 0.8), 0 0 10px rgba(0, 136, 204, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-telegram:hover::before {
    left: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(6, 6, 9, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-divider {
    height: 24px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    background: rgba(109, 40, 217, 0.1);
    border: 1px solid rgba(109, 40, 217, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c4b5fd;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 5rem;
}

/* Stats */
.stats-container {
    display: flex;
    background: rgba(12, 11, 17, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 3rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 900px;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-unit {
    font-size: 1.25rem;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    margin: 0 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Toggle Switch */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toggle-label.active {
    color: white;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.hover-effect:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popular {
    border-color: rgba(109, 40, 217, 0.5);
    background: linear-gradient(to bottom, rgba(18, 17, 26, 0.9), rgba(18, 17, 26, 0.7));
    padding-top: 3rem;  /* Increased from 2.5rem to make room for badge */
    position: relative;  /* Already should have this */
    overflow: visible;   /* Change from 'hidden' to 'visible' */
    z-index: 5;
}

.ultimate {
    border-color: rgba(244, 63, 94, 0.5);
}

.animated-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s;
}

.popular .animated-frame,
.ultimate .animated-frame {
    opacity: 0.8;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        filter: drop-shadow(0 0 5px var(--primary));
    }

    100% {
        filter: drop-shadow(0 0 15px var(--accent));
    }
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: -5px;  /* Slightly outside the card */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-glow);
    border-radius: 0 20px 20px 0;  /* Rounded on right side only */
    z-index: 20;
    border-left: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
}

/* Add a folded corner effect */
.popular-badge::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    border-top: 10px solid var(--secondary);
    border-left: 10px solid transparent;
    filter: brightness(0.7);
    z-index: -1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.popular .card-glow {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.ultimate .card-glow {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tier-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.card-price {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2px;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    margin-left: 2px;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.features-list i {
    color: var(--text-secondary);
    width: 20px;
    text-align: center;
}

.features-list strong {
    color: white;
}

.features-list .disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.card-btn {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Border Box Addons */
.addons {
    position: relative;
    overflow: hidden;
}

.addons-bg-fx {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulseBg 8s infinite alternate;
}

@keyframes pulseBg {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.border-box {
    background: rgba(12, 11, 17, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.addon-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.addon-name {
    font-weight: 600;
}

.addon-price {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
}

/* Add this to your CSS */
.payments {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.payments .container {
    max-width: 100%;
    padding: 0;
}
/* Payments */
.impact-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.impact-title .divider {
    color: var(--primary);
    opacity: 0.5;
    font-weight: 300;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    display: flex;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
}

.marquee-container::after {
    right: 0;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation: scrollMarquee 20s linear infinite;
    width: max-content;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: var(--text-secondary);
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: default;
}

.payment-icon:hover {
    color: white;
    border-color: var(--primary);
    background: rgba(217, 40, 40, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(217, 40, 40, 0.2);
}

/* Footer */
.footer {
    padding: 0;
    background: transparent;
    position: relative;
}

.footer-glass {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    background: rgba(12, 11, 17, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.footer-glass::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    justify-content: flex-start;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-link i {
    margin-right: 0.5rem;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
    transition-delay: 0.5s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .border-box {
        padding: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Image Grid Container */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Individual Image Card */
.image-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-card img {
    width: 100%;
    height: 200px;
    /* fixed height for uniformity */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card .image-title {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

/* Power Proof Grid */
/* Proof Marquee */
.power-proof {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.proof-marquee-container {
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    display: flex;
}

.proof-marquee-container::before,
.proof-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.proof-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.proof-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.proof-marquee-content {
    display: flex;
    gap: 2rem;
    animation: scrollProof 25s linear infinite;
    width: max-content;
}

.proof-marquee-container:hover .proof-marquee-content {
    animation-play-state: paused;
}

@keyframes scrollProof {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.proof-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(18, 17, 26, 0.85);
    backdrop-filter: blur(10px);
    width: 320px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.proof-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.proof-card img {
    width: 100%;
    height: 180px;
    /* fixed height for uniform cards */
    object-fit: cover;
    /* automatically adjusts/crops image to fit */
    display: block;
    transition: transform 0.3s ease;
}

.proof-card:hover img {
    transform: scale(1.1);
}

/* Overlay Text */
.proof-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.proof-card:hover .overlay {
    opacity: 1;
}

.proof-info {
    padding: 1.25rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    flex-grow: 1;
}

.proof-info h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.proof-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Modal Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

#modal-caption {
    text-align: center;
    color: #ccc;
    padding: 1rem 0;
}