:root {
    /* Supabase Green - Primary Brand */
    --primary-color: #3ECF8E;
    --primary-dark: #006239;
    --primary-light: #3ECF8E;

    /* Dark Surfaces - Secondary */
    --secondary-color: #242424;
    --secondary-dark: #1E1E1E;
    --secondary-light: #363636;

    /* Green - CTAs */
    --accent-color: #3ECF8E;
    --accent-dark: #006239;

    /* Success States */
    --success-color: #3ECF8E;
    --success-dark: #006239;
    --success-light: #3ECF8E;

    /* Dark Theme Text */
    --dark-bg: #121212;
    --dark-secondary: #1E1E1E;
    --text-color: #FAFAFA;
    --text-secondary: rgba(250, 250, 250, 0.9);
    --text-dark: #FAFAFA;
    --text-gray: #A1A1A1;
    --text-light-gray: #707070;

    /* Backgrounds - Dark */
    --tools-bg: #1E1E1E;
    --card-bg: #242424;
    --section-bg: #121212;

    /* Borders */
    --border-color: #363636;
    --card-border: #363636;
    --border-light: #363636;

    /* Font */
    --font-family: Circular, custom-font, 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Badges */
    --badge-best: #3ECF8E;
    --badge-new: #F97066;
    --badge-editors: #3ECF8E;
    --badge-top: #242424;
    --badge-trending: #006239;

    /* Buttons */
    --button-color: #2C7050;
    --button-hover: #245E44;

    /* Feature accent */
    --feature-color: #3ECF8E;

    /* Footer */
    --footer-bg: #121212;
    --footer-text: #A1A1A1;
    --footer-link: #FAFAFA;
    --footer-border: #363636;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mobile {
    display: none;
}

body {
    font-family: var(--font-family);
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-secondary);
    background-color: #121212;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

.logo img {
    height: 24px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

.dropdown i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.login-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Hero Section */
/* original .hero removed — see Supabase-matched section below */

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button i {
    color: var(--primary-color);
    font-size: 2rem;
}

h1 {
    color: var(--text-color);
}

/* .h1-t removed — replaced by .hero h1 */

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--button-color);
    color: white;
    justify-content: center;
}

.primary-btn:hover {
    background-color: var(--button-hover);
}

.video-btn {
    background-color: #242424;
    color: #FAFAFA;
    border: 1px solid #363636;
    justify-content: center;
}

.video-btn i {
    margin-right: 8px;
    color: var(--primary-color);
}

.video-btn:hover {
    background-color: #363636;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat h3 {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.stat p {
    font-size: 0.9rem;
    margin: 0;
}

.stars {
    color: #3ECF8E;
    font-size: 0.9rem;
    display: flex;
    align-items: baseline;
}

/* AI Tools Section */
.ai-tools {
    background-color: var(--tools-bg);
    padding: 5rem 0;
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tool-card {
    display: flex;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
    border-color: rgba(44, 112, 80, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    top: -9px;
    left: -11px;
    box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.25), 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.tool-content {
    flex: 1;
    padding: 2rem;
    position: relative;
    display: flex;
}

.tool-logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 500px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #fff;
}

.tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.tool-info {
    flex: 1;
}

.tool-badges {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 8px;
    /* margin-bottom: 10px; */
    align-content: center;
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* margin-top: 10px; */
    margin-bottom: 10px;
    margin-right: 10px;
}

.best-seller {
    background-color: var(--badge-best);
}

.new {
    background-color: var(--badge-new);
}

.editors-choice {
    background-color: var(--badge-editors);
}

.top-2025 {
    background-color: var(--badge-top);
}

.begginer {
    background-color: rgba(44, 112, 80, 0.85);
    border: 1px solid rgba(62, 207, 142, 0.3);
}

.trending {
    background-color: var(--badge-trending);
}

.tool-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.review-count {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-gray);
    margin-left: 10px;
}

.tool-strategy {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.tool-details {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 1.25rem;
}

.detail {
    display: flex;
    margin-top: 10px;
    flex-direction: column;
}

.label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature i {
    color: transparent;
    margin-right: 8px;
    font-size: 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233ECF8E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.tool-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #1E1E1E;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    border-left: 1px solid var(--card-border);
}

.rating-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rating-circle span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.rating-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    /* border: 5px solid #e0e0e0; */
}

.rating-circle::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    /* border: 5px solid var(--primary-color); */
    clip-path: polygon(50% 50%, 100% 0%, 100% 50%);
    transform: rotate(var(--rotation));
}

.rating-stats {
    text-align: center;
    margin-bottom: 1rem;
}

.rating-stats p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.rating-stats .value {
    font-weight: 600;
    color: var(--text-dark);
}

.tool-btn {
    background-color: var(--button-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
    text-align: center;
    width: 100%;
    justify-content: center;
    letter-spacing: 0.01em;
}

.tool-btn:hover {
    background-color: var(--button-hover);
}

/* AI Tools light theme (scoped only to this section) */
.ai-tools {
    background-color: #f5f6f7;
    color: #1f2937;
}

.ai-tools .section-header h2 {
    color: #111827;
}

.ai-tools .section-header p {
    color: #4b5563;
}

.ai-tools .tool-card {
    background-color: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.ai-tools .tool-card:hover {
    border-color: rgba(44, 112, 80, 0.45);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.ai-tools .tool-logo {
    border: 2px solid #e5e7eb;
}

.ai-tools .tool-name,
.ai-tools .value,
.ai-tools .feature,
.ai-tools .rating-circle span {
    color: #111827;
}

.ai-tools .tool-strategy,
.ai-tools .review-count,
.ai-tools .label,
.ai-tools .rating-stats p,
.ai-tools .card-risk-disclaimer {
    color: #4b5563;
}

.ai-tools .tool-rating {
    background-color: #f3f4f6;
    border-left-color: #d1d5db;
}

.ai-tools .rating-circle {
    background-color: #eef1f4;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ai-tools .rating {
    --background-color: #f8fafc;
    --rating-color-default: #e5e7eb;
    --rating-color-background: #3ECF8E;
    color: #111827;
}

.ai-tools .tool-badge.begginer {
    background-color: rgba(44, 112, 80, 0.9);
    border-color: rgba(62, 207, 142, 0.45);
}

.ai-tools .popup-button.waitlist {
    background-color: #e5e7eb;
    color: #1f2937;
}

.ai-tools .popup-button.waitlist:hover {
    background-color: #d1d5db;
}

.ai-tools .rank {
    background-color: #F0B90A;
    box-shadow: 0 0 0 3px rgba(21, 99, 64, 1), 0 2px 8px rgba(21, 99, 64, 0.25);
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--footer-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--footer-link);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--button-color);
    color: white;
    box-shadow: 0 0 12px rgba(44, 112, 80, 0.4);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
}

.copyright p {
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .tool-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 3rem;
    }

    .footer-column {
        flex-basis: calc(50% - 3rem);
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }

    .mobilerating {
        display: flex;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        margin-top: 15px;
    }

    .hero-stats {
        /* flex-direction: column; */
        gap: 1.2rem;
        text-align-last: center;
        justify-content: center;
    }

    .tool-card {
        flex-direction: column;
    }

    .tool-content {
        flex-direction: column;
    }

    .tool-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .tool-rating {
        width: 100%;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        border-left: none;
        border-top: 1px solid var(--card-border);
        padding: 1.25rem;
    }

    .card-risk-disclaimer {
        flex-basis: 100%;
        margin-top: 0.75rem;
    }

    .rating-circle {
        margin-bottom: 0;
        margin-right: 15px;
        width: 70px;
        height: 70px;
    }

    .rating-stats {
        margin-bottom: 0;
        margin-right: 15px;
        text-align: left;
        flex: 1;
    }

    .tool-btn {
        width: auto;
        min-width: 100px;
        white-space: nowrap;
    }

    .section-header h2 {
        font-size: 1.6rem;

    }

    .footer-column {
        flex-basis: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .mobile {
        display: block;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 52px;
    }

    .container {
        padding: 0 1rem;
    }

    .desktop {
        display: none;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rank {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -8px;
        left: -7px;
    }

    .tool-rating {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .card-risk-disclaimer {
        font-size: 0.6rem;
        margin-top: 0.5rem;
    }

    .rating-circle {
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 60px;
        height: 60px;
    }

    .rating-circle span {
        font-size: 1.2rem;
    }

    .rating-stats {
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .tool-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .tool-details {
        gap: 0.5rem !important;
        display: contents;
    }

    .tool-features {
        gap: 0.4rem;
    }

    .feature {
        font-size: 0.85rem;
    }

    .feature i {
        font-size: 0;
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .tool-name {
        font-size: 1.3rem;
    }

    .review-count {
        display: block;
        font-size: 0.9rem;
        margin-top: 0.25rem;
        margin-left: 10px;
    }
}

@media (max-width: 400px) {
    .rating-circle {
        width: 50px;
        height: 50px;
    }

    .mobilerating {
        display: flex;
        gap: 15px;
    }

    .rating-circle span {
        font-size: 1rem;
    }

    .rating-circle::before,
    .rating-circle::after {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        border-width: 3px;
    }

    .rating-stats p {
        font-size: 0.8rem;
    }

    .tool-btn {
        font-size: 0.85rem;
    }
}

body {

    grid-template-columns: repeat(auto-fill,
            minmax(var(--rating-size), var(--rating-size)));
    gap: var(--bar-size);
    justify-content: start;
}

/* --- The actual thing --- */

/* Variables */

:root {
    --rating-size: 60px;
    --bar-size: 4px;
    --background-color: #242424;
    --rating-color-default: #242424;
    --rating-color-background: #242424;
    --rating-color-good: #2C7050;
    --rating-color-meh: #f1c40f;
    --rating-color-bad: #e74c3c;
}

/* Rating item */
.rating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    overflow: hidden;
    min-width: 60px;
    min-height: 60px;
    background: var(--rating-color-default);
    color: var(--rating-color-default);
    width: var(--rating-size);
    height: var(--rating-size);

    /* Basic style for the text */
    font-size: calc(var(--rating-size) / 3);
    line-height: 1;
}

/* Rating circle content */
.rating span {
    position: relative;
    display: flex;
    font-weight: bold;
    z-index: 2;
}

.rating span small {
    font-size: 0.5em;
    font-weight: 900;
    align-self: center;
}

/* Bar mask, creates an inner circle with the same color as thee background */
.rating::after {
    content: "";
    position: absolute;
    top: var(--bar-size);
    right: var(--bar-size);
    bottom: var(--bar-size);
    left: var(--bar-size);
    background: var(--background-color);
    border-radius: inherit;
    z-index: 1;
}

/* Bar background */
.rating::before {
    content: "";
    position: absolute;
    top: var(--bar-size);
    right: var(--bar-size);
    bottom: var(--bar-size);
    left: var(--bar-size);
    border-radius: inherit;
    box-shadow: 0 0 0 1rem var(--rating-color-background);
    z-index: -1;
}

/* Classes to give different colors to ratings, based on their score */
.rating.good {
    background: var(--rating-color-good);
    color: var(--rating-color-good);
}

.rating.meh {
    background: var(--rating-color-meh);
    color: var(--rating-color-meh);
}

.rating.bad {
    background: var(--rating-color-bad);
    color: var(--rating-color-bad);
}


.popup-button {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 6px;
    background-color: var(--button-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.popup-button:hover {
    background-color: var(--button-hover);
}

.popup-button.waitlist {
    background-color: #363636;
}

.popup-button.waitlist:hover {
    background-color: #363636;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1545415;
}

.popup.show {
    display: flex;
}

.popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.popup-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.popup-content {
    background-color: #242424;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
    min-width: 300px;
    margin-left: 10px;
    color: #FAFAFA;
    max-width: 500px;
    text-align: center;
    margin-right: 10px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #707070;
}

.close-button:hover {
    color: #FAFAFA;
}

h2 {
    margin-top: 0;
    color: #FAFAFA;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.description {
    margin-top: 1rem;
    line-height: 1.6;
    color: #A1A1A1;
}

@media (max-width: 600px) {}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background-color: #1E1E1E;
    top: 0;
    width: 100%;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.create-account {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.create-account:hover {
    background-color: var(--button-hover);
}

/* Hero Section — Supabase-matched */
.hero {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
}

.hero h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 72px;
    letter-spacing: normal;
    margin-bottom: 0;
}

.hero-line-white {
    display: block;
    color: #FAFAFA;
}

.hero-line-green {
    display: block;
    color: #3ECF8E;
}

.hero .subtitle {
    font-size: 18px;
    color: #FAFAFA;
    line-height: 28px;
    margin-top: 20px;
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    height: 38px;
    cursor: pointer;
    font-weight: 400;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.cta-primary {
    background-color: #006239;
    color: #FAFAFA;
    border: 1px solid rgba(62, 207, 142, 0.3);
}

.cta-primary:hover {
    background-color: var(--button-hover);
}

.cta-secondary {
    background-color: #242424;
    color: #FAFAFA;
    border: 1px solid #363636;
}

.cta-secondary:hover {
    background-color: #2a2a2a;
}

.highlight {
    color: #3ECF8E;
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 255, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
}

.video-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.register-button {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0;
    width: 100%;
    max-width: 400px;
}

.ratings {
    /* margin: 2rem 0; */
}

.stars {
    color: #3ECF8E;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.half-star {
    opacity: 0.5;
}

.featured {
    margin-top: 4rem;
}

.featured-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .navbar {}

    .hero {
        padding: 3rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 48px;
    }

    .hero .subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .logos {
        gap: 1rem;
    }

    .logo-item {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .create-account {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
}


.why-ai-trading {
    /* max-width: 1200px; */
    width: 100%;
    background-color: #1E1E1E;
    padding: 2rem;
    justify-items: center;
}


.content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
    max-width: 1200px;
}

.text-content {
    flex: 1;
}

.text-content p {
    font-size: 1.1rem;
    color: #A1A1A1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.security-features {
    list-style: none;
    margin-bottom: 2rem;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #FAFAFA;
}

.security-features svg {
    color: var(--icon-color);
    flex-shrink: 0;
}

.image-container {
    flex: 1;
    position: relative;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.image-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #363636;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        gap: 2rem;
    }

    .text-content,
    .image-container {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        /* padding: 1rem; */
    }

    .why-ai-trading {
        padding: 1rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .security-features li {
        font-size: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
}


.reasons-section {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 4rem 1rem;
    background-color: #1E1E1E;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.reason-card {
    background: #242424;
    padding: 2rem 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    -webkit-animation: fadeIn 0.5s ease forwards;
    text-align: center;
}

.reason-card:hover {
    border-color: rgba(44, 112, 80, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reason-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-gray);
}

.icon-wrapper {
    background: linear-gradient(135deg, rgba(44, 112, 80, 0.15) 0%, rgba(44, 112, 80, 0.06) 100%);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    border: 1px solid rgba(44, 112, 80, 0.3);
    box-shadow: 0 4px 20px rgba(44, 112, 80, 0.12);
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
}

h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #FAFAFA;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.profit-color {
    color: #3ECF8E;
}

.card-risk-disclaimer {
    font-size: 0.6rem;
    color: #707070;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    margin-top: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p {
    color: #A1A1A1;
    line-height: 1.7;
    /* font-size: 1rem; */
}

.closed {
    background-color: #1E1E1E;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    width: 100%;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.reason-card:nth-child(1) {
    animation-delay: 0.1s;
}

.reason-card:nth-child(2) {
    animation-delay: 0.2s;
}

.reason-card:nth-child(3) {
    animation-delay: 0.3s;
}

.reason-card:nth-child(4) {
    animation-delay: 0.4s;
}

@media (max-width: 768px) {
    body {
        /* padding: 1rem; */
    }

    .reasons-section {
        padding: 2rem 0.5rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reason-card {
        padding: 1.5rem;
        text-align: center;
    }

    .icon-wrapper {
        margin: 0 auto 1.5rem;
    }
}




.form-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 0.5rem;
}

.form-header h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FAFAFA;
    line-height: 1.3;
}

.signup-form {
    background: #242424;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-field {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    background: #363636;
    border-radius: 5px;
    transition: background 0.2s;
    color: #FAFAFA;
}

.input-field:focus {
    outline: none;
    background: #363636;
}

.phone-group {
    display: flex;
    gap: 0.5rem;
}

.country-select-container {
    position: relative;
    width: auto;
}

.selected-country {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 1rem;
    background: #363636;
    border: 1px solid #363636;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 800;
    height: 100%;
    color: #FAFAFA;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    max-height: 300px;
    background: #242424;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
}

.country-dropdown.show {
    display: block;
}

.search-container {
    padding: 10px;
    border-bottom: 1px solid #363636;
}

#countrySearch {
    width: 100%;
    padding: 10px;
    border: 1px solid #363636;
    border-radius: 5px;
    font-size: 14px;
    background: #363636;
    color: #FAFAFA;
}

.country-list {
    max-height: 250px;
    overflow-y: auto;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.country-item:hover {
    background: #363636;
}

.country-flag {
    margin-right: 10px;
    font-size: 1.2rem;
}

.country-name {
    flex: 1;
    text-align: left;
    font-size: 14px;
    color: #FAFAFA;
}

.country-dial {
    color: #A1A1A1;
    font-size: 14px;
}

.phone-input {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    background: #363636;
    border-radius: 5px;
    color: #FAFAFA;
}

.phone-input:focus {
    outline: none;
    background: #363636;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background: var(--button-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
    margin-top: 0.2rem;
}

.submit-button:hover {
    background: var(--button-hover);
}

.submit-button:hover {
    opacity: 0.9;
}

.terms {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #707070;
    text-align: center;
}

.terms a {
    color: #FAFAFA;
    text-decoration: none;
    font-weight: 500;
}

.terms a:hover {
    text-decoration: underline;
}

.preloader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid white;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Responsive styles */
@media (max-width: 480px) {
    .signup-form {
        padding: 1.5rem;
    }

    .load-more-btn .form-header h1 {
        font-size: 1.4rem;
        margin-left: 20%;
        width: 100%;
    }

    .country-dropdown {
        width: 250px;
    }
}

#review-section {
    margin: 0 auto;
    text-align: center;
    background-color: #121212;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-box {
    background: #242424;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: left;
}

.review-box:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3ECF8E;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-weight: bold;
    color: #FAFAFA;
    margin: 0;
}

.bot-name {
    color: #A1A1A1;
    font-size: 0.875rem;
    margin: 4px 0 0 0;
}

.review-date {
    font-size: 0.875rem;
    color: #707070;
    margin: 4px 0 0 0;
}

.stars {
    color: #3ECF8E;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #A1A1A1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.load-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--button-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    justify-self: center;

}

.load-more-btn:hover {
    background-color: var(--button-hover);
}

@media (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .review-box {
        margin-bottom: 1rem;
    }
}



.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #121212;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
    border-radius: 5px !important;
}

video {
    width: 100%;
    display: block;
    touch-action: none;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding-right: 5px;
    padding-left: 5px;
}

.video-container.playing .video-controls {
    opacity: 0;
}

.video-container.show-controls .video-controls {
    opacity: 1;
}

.video-container:hover .video-controls,
.video-container:active .video-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    height: 100%;
    background: #3ECF8E;
    border-radius: 4px;
    width: 0;
}

.time-display {
    color: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
    min-width: 100px;
    text-align: right;
}

.pause-icon {
    display: none;
}

.mute-icon {
    display: none;
}

.playing .play-icon {
    display: none;
}

.playing .pause-icon {
    display: block;
}

.muted .volume-icon {
    display: none;
}

.muted .mute-icon {
    display: block;
}

.unmute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(89 89 89 / 55%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.unmute-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.unmute-content {
    text-align: center;
    color: white;
}

.large-mute-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    color: white;
}

.unmute-content p {
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin: 5px 0;
}

/* Mobile improvements */
@media (max-width: 768px) {
    .video-container {
        margin: 0;
        border-radius: 0;
    }

    .progress-bar {
        height: 12px;
    }

    .control-btn {
        padding: 8px;
    }

    .time-display {
        font-size: 16px;
    }

    .unmute-content p {
        font-size: 16px;
    }
}

.botSelector2025-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 21, 26, 0.8);
    backdrop-filter: blur(4px);
    z-index: 999999;
}

.botSelector2025-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #242424;
    padding: 2rem;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#botSelector2025Button {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(62, 207, 142, 0.3);
    margin: 2rem auto;
    display: inline-block;
    width: auto;
}

#botSelector2025Button:hover {
    transform: translateY(-2px);
    background: var(--button-hover);
    box-shadow: 0 6px 16px rgba(62, 207, 142, 0.4);
}

.botSelector2025-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5em;
    margin-bottom: 1.5rem;
    color: #FAFAFA;
    justify-self: center;
}

.botSelector2025-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.botSelector2025-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s;
    border-radius: 16px;
    margin-bottom: 0.5rem;
}

.botSelector2025-item:hover {
    background-color: rgba(62, 207, 142, 0.08);
}

.botSelector2025-icon {
    width: 68px;
    height: 68px;
    margin-right: 1rem;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
    padding: 8px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    /* color: white; */
    /* font-weight: 600; */
    /* font-size: 1.2em; */
    /* box-shadow: 0 4px 12px rgba(100, 108, 255, 0.2); */
    border: 1px solid #363636;
}

.botSelector2025-info {
    flex-grow: 1;
    text-align: left;
}

.botSelector2025-name {
    font-weight: 600;
    margin: 0;
    color: #FAFAFA;
    font-size: 1.1em;
}

.botSelector2025-details {
    color: #A1A1A1;
    font-size: 0.9em;
    margin: 0.2rem 0 0 0;
}

.botSelector2025-select {
    padding: 0.75rem 1.25rem;
    background: var(--button-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: 0 2px 8px rgba(62, 207, 142, 0.2);
    width: auto;
}

.botSelector2025-select:hover {
    transform: translateY(-1px);
    background: var(--button-hover);
    box-shadow: 0 4px 12px rgba(62, 207, 142, 0.3);
}

/* Scrollbar Styling */
.botSelector2025-popup::-webkit-scrollbar {
    width: 8px;
}

.botSelector2025-popup::-webkit-scrollbar-track {
    background: #1E1E1E;
    border-radius: 4px;
}

.botSelector2025-popup::-webkit-scrollbar-thumb {
    background: var(--button-color);
    border-radius: 4px;
}

.botSelector2025-popup::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .botSelector2025-popup {
        width: 95%;
        padding: 0.4rem;
        border-radius: 10px;
        max-height: 80%;
        padding-top: 20px;
    }

    .botSelector2025-title {
        font-size: 1.3em;
        justify-self: center;
        margin-bottom: 1rem;
    }

    .botSelector2025-item {
        padding: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .botSelector2025-icon {
        width: 56px;
        height: 56px;
        padding: 6px;
    }

    .botSelector2025-name {
        font-size: 1em;
    }

    .botSelector2025-details {
        font-size: 0.8em;
    }

    .botSelector2025-select {
        padding: 0.6rem 1rem;
        font-size: 0.9em;
    }
}