:root {
    --bg-deep: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    /* Updated from #0d0d0d */
    --bg-card-hover: #141414;
    --text-main: #ffffff;
    --text-dim: #999999;
    --text-muted: #a0a0a0;
    /* Added */
    --accent-blue: #007aff;
    --accent-gold: #ffb700;
    --accent-glow: rgba(0, 122, 255, 0.15);
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --bg-dark: #050505;
    /* Added, same as --bg-deep */
    --acc-fontSize: 100%;
    /* Added */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    /* Changed from --bg-deep */
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
div,
span,
button {
    font-family: 'Heebo', 'Outfit', sans-serif !important;
    font-weight: 900 !important;
}

.glitch-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background-color: #000;
    opacity: 0.25;
}

.glitch-outer-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 100%);
}

.glitch-center-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
}

main {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
}

.hero-logo-wrapper {
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    top: -4rem;
    /* Pulled up more to touch the bar area */
}

.hero-logo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Right-align in RTL */
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 10vh;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: -4.5rem;
    /* Pulled up much closer to logo */
    margin-bottom: 0.2em;
    text-align: right;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.hero .subtitle {
    max-width: 700px;
    margin-top: 0rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    /* Sticky header */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    padding: 2.5rem !important;
    z-index: 10000 !important;
    border-top: 1px solid var(--accent-blue) !important;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5) !important;
}

.cookie-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.cookie-content p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: #fff !important;
    margin: 0 !important;
}

header .container {
    display: flex;
    justify-content: flex-end;
    /* Just the hamburger on the right */
    align-items: center;
    position: relative;
    padding: 0 1rem;
}

.logo-placeholder {
    display: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}


/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #005bb5 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
    /* Align with RTL content */
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-video:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.yt-icon {
    color: #ff0000;
    font-size: 1.2rem;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* White Hero Button */
.hero-cta .btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 0, 0, 0.1);
}

.hero-cta .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #000000;
}

.hero-cta .btn-primary::before {
    background: linear-gradient(120deg,
            transparent,
            rgba(0, 0, 0, 0.05),
            transparent);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background: var(--glass);
    text-decoration: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero .subtitle {
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-size: 1.1rem;
    text-align: right;
    margin-left: 0;
    margin-right: 0;
}

/* Bento Grid */
.products {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.bento-grid {
    display: none;
}

.gallery-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Founders 3-Column Layout --- */
.founders-three-column {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.founder-column.side-image {
    flex: 1;
    max-width: 300px;
}

.founder-column.side-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-column.center-text {
    flex: 2;
    text-align: center;
}

.founder-column.center-text p {
    color: #c0c0c0;
    font-size: 1.25rem;
    line-height: 1.8;
    font-family: 'Heebo', sans-serif;
}

@media (max-width: 900px) {
    .founders-three-column {
        flex-direction: column;
        gap: 2rem;
    }

    .founder-column.side-image {
        display: none;
        /* Hide images on mobile as requested */
    }

    .founder-column.center-text {
        order: 1;
    }

    .founders-card {
        display: flex !important;
        margin: 2rem auto 0 !important;
    }
}

/* Ensure Founders Card is Centered on Desktop */
.founders-card {
    display: flex;
    margin: 3rem auto 0;
    justify-content: center;
}

.package-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.static-gallery {
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.static-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 183, 0, 0.1);
    border-color: rgba(255, 183, 0, 0.3);
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Logo Carousel */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin-top: -3rem;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 10rem;
    width: max-content;
    animation: scroll-infinite 300s linear infinite;
    will-change: transform;
    flex-shrink: 0;
}

.logo-carousel-track img {
    height: 35px;
    width: auto;
    filter: grayscale(1) brightness(2) opacity(0.6);
    transition: all 0.3s ease;
}

.logo-carousel-track img[alt="TradingView"] {
    height: 18px;
    /* Shrink TradingView by 2x */
}

.logo-carousel-track img:hover {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bot-spotlight {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

/* Lead Form Horizontal Redesign */
/* End of Styles */

.lead-form {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    flex: 1;
    text-align: right;
}

.lead-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: 'Outfit', sans-serif !important;
}

.lead-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
}

.lead-form .submit-btn {
    min-width: 160px;
    height: 52px;
    /* Matching input height + padding */
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

.privacy-consent {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.5;
    text-align: center;
}

@media (max-width: 900px) {
    .lead-form {
        flex-direction: column;
        align-items: stretch;
    }

    .lead-form .submit-btn {
        width: 100%;
    }
}

/* Staggered Menu visibility fix */
.staggered-menu-wrapper {
    position: relative;
    z-index: 10000;
}

.sm-toggle {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    padding: 10px 18px !important;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: -10px;
    height: 35px;
    /* Fixed height to match logo visual line */
    display: flex;
    align-items: center;
}

header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 122, 255, 0.3);
    /* Subtle colorful glow */
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 122, 255, 0.2);
}

.card.large {
    grid-column: span 2;
}

.card.gold {
    border-color: rgba(255, 183, 0, 0.3);
}

.card.gold:hover {
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.15);
    border-color: var(--accent-gold);
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.gold .card-tag {
    color: var(--accent-gold);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

.card-footer {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.card:hover .card-footer {
    opacity: 1;
}

/* Accessibility Floating Button */
.acc-floating-btn {
    position: fixed !important;
    bottom: 2rem !important;
    left: 2rem !important;
    width: 60px !important;
    height: 60px !important;
    background: var(--accent-blue) !important;
    border-radius: 50% !important;
    z-index: 9999 !important;
    font-size: 2rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.5) !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Overlay & Modal */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90vw;
    height: 85vh;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 32px;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
}

.modal-content {
    height: 100%;
    padding: 4rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    height: 100%;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Footer Legal Styles */
.footer-legal {
    background: #050505;
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    margin-top: 8rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.footer-info {
    flex: 2;
    max-width: 800px;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    text-align: justify;
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 2rem;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: right;
    min-width: 150px;
}

.footer-legal-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.footer-legal-link:hover {
    color: var(--accent-blue);
}

.modal-info h2 {
    font-size: 3.5rem;
}

.modal-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #fff;
}

.tab-pane {
    flex-grow: 1;
    font-size: 1.1rem;
    color: #ccc;
}

.modal-visuals {
    background: #050505;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.modal-visuals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero .subtitle {
    animation-delay: 0.5s;
}

.hero-cta {
    animation-delay: 0.7s;
}

@media (max-width: 968px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .card.large {
        grid-column: auto;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .modal-visuals {
        display: none;
    }

    .modal-content {
        padding: 2rem;
    }

    .modal-info h2 {
        font-size: 2rem;
    }
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: right;
}

.alt-bg {
    background: #080808;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.feature-content {
    text-align: right;
}

.badge {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.results-container {
    margin-top: 4rem;
    text-align: center;
}

.results-container h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-main);
}

.results-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

.results-slider {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
    gap: 1.5rem;
}

.indicator-results .result-card {
    flex: 0 0 420px;
    max-width: 420px;
}

.result-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    padding: 15px;
    /* Add some breathing room */
}

.results-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.slider-arrow.prev {
    left: -60px;
}

.slider-arrow.next {
    right: -60px;
}

@media (max-width: 1200px) {
    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}

.results-grid .result-card {
    max-width: 600px;
    /* Increased size פי 2 as requested */
    flex: 0 0 600px;
    /* Important for slider */
}


.accent {
    color: var(--accent-blue);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #eee;
}

.feature-list.stars li::after {
    content: '★';
    position: absolute;
    right: 0;
    color: var(--accent-blue);
    font-size: 0.8rem;
    top: 0.2rem;
}

.comparison-card {
    max-width: 850px;
    margin: 4rem auto;
    padding: 3rem;
    align-items: flex-start; /* Align icon to top for longer text */
    text-align: right;
}

.benefit-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comparison-card h4 {
    font-size: 1.6rem;
    margin: 0;
    color: var(--accent-blue);
    line-height: 1.4;
}

.comparison-card p {
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .comparison-card {
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comparison-card .benefit-icon {
        margin-bottom: 1.5rem;
        margin-left: 0;
    }
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Segmentation Section */
.segmentation-section {
    padding: 8rem 0;
    background: #050505;
}

.segmentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.segment-card {
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.segment-card.fit {
    border-left: 4px solid #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.05);
}

.segment-card.no-fit {
    border-right: 4px solid #ff4444;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.05);
}

.segment-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.segment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.segment-icon {
    font-size: 1.5rem;
}

.segment-list {
    list-style: none;
    padding: 0;
}

.segment-list li {
    padding: 0.8rem 0;
    color: #ccc;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.segment-list li:last-child {
    border-bottom: none;
}

/* Clickable Images & Modal */
.clickable-image {
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    /* Added for caption positioning */
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    font-family: 'Heebo', sans-serif;
}

.clickable-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.clickable-image:hover {
    border-color: var(--accent-blue);
    transform: scale(1.02);
}

.clickable-image:hover img {
    transform: scale(1.05);
}

/* Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.active {
    display: flex;
}

.image-modal.active img {
    transform: scale(1);
}

/* Lightbox Nav */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: white;
    color: black;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

@media (max-width: 968px) {
    .segmentation-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section {
    padding: 4rem 0 10rem;
    background: radial-gradient(circle at center, #0a0a0a 0%, #050505 100%);
    position: relative;
    margin-top: -2rem;
}

.faq-grid {
    max-width: 900px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    border-color: rgba(0, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 2.2rem;
    background: none;
    border: none;
    text-align: right;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Heebo', sans-serif !important;
}

.faq-question::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    transform: rotate(-45deg);
    transition: all 0.4s ease;
    margin-left: 1rem;
    order: 1;
}

.faq-item.active {
    background: rgba(0, 122, 255, 0.05);
    border-color: var(--accent-blue);
}

.faq-item.active .faq-question::before {
    transform: rotate(45deg);
    border-color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer p {
    padding: 0 2.2rem 2.2rem;
    color: #aaa;
    font-size: 1.15rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.5rem;
}

/* --- Lead Form Redesign --- */
/* --- Lead Form Redesign: Horizontal & Premium --- */
.leads-section {
    padding: 8rem 0 2rem;
    background: #050505;
    position: relative;
}

.lead-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.lead-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.lead-wrapper .section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.lead-wrapper .section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-form {
    display: flex !important;
    flex-direction: column !important;
    /* Stack vertically as requested */
    gap: 2rem !important;
    align-items: stretch !important;
    margin-top: 3.5rem !important;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    text-align: right;
}

.submit-btn {
    width: 100% !important;
    height: 12px !important;
    /* Ultra slim as requested */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    border-radius: 4px !important;
    padding: 0 !important;
    line-height: 0 !important;
    border: none !important;
    opacity: 0.8;
}

.form-group label {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Outfit', sans-serif !important;
}

.form-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    font-family: 'Heebo', sans-serif !important;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

input[type="tel"] {
    direction: ltr;
    /* Numerics are usually LTR */
    text-align: right;
    /* Placeholder/content align right */
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.3);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #005bb5 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    padding: 0;
    line-height: normal;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.6);
    filter: brightness(1.2);
    letter-spacing: 2px;
}

.privacy-consent {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #555;
    font-family: 'Outfit', sans-serif !important;
}

/* Form Success Message */
.form-success-msg {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.form-success-msg h3 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 900;
}

.form-success-msg p {
    font-size: 1.2rem;
    color: #ddd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Lightbox Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: zoom-out;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 25px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    user-select: none;
}

.lightbox-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.video-popup-modal {
    display: none;
    position: fixed;
    z-index: 10005;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.video-popup-modal.active {
    display: flex;
}

.video-popup-modal .video-container {
    width: 85%;
    max-width: 640px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
}

.video-popup-modal video {
    width: 100%;
    height: auto;
    display: block;
}

.video-popup-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10006;
}

/* Premium Design Polish - Glassmorphism & Micro-animations */
.glass-card,
.lead-wrapper {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.btn-primary:hover,
.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.4);
    filter: brightness(1.1);
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
    transform: scale(1.1);
}

/* Comprehensive Mobile Optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    section {
        padding: 2.5rem 0 !important;
    }

    /* Hero Section Mobile */
    .hero {
        padding-top: 5rem !important;
        /* Higher up */
        min-height: auto !important;
        padding-bottom: 2rem !important;
    }

    .hero-logo-img {
        width: 250px !important;
        /* 2x increase from ~125px equivalent or specific 100px found before */
        max-width: 80vw !important;
        filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.2));
    }

    .hero-logo-wrapper {
        top: -6rem !important;
        /* Higher up */
        margin-bottom: -1rem;
    }


    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-top: -3.5rem !important;
    }

    .subtitle {
        font-size: 1rem !important;
        margin-top: 1.2rem !important;
        padding: 0 1rem;
    }

    /* Feature Sections */
    .feature-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }

    .feature-grid.reverse {
        flex-direction: column !important;
    }

    .feature-content {
        order: 1 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .feature-visual {
        order: 2 !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .feature-list {
        text-align: right !important;
        display: inline-block !important;
        margin: 1rem auto !important;
        font-size: 0.95rem;
    }

    /* Results */
    .results-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    .results-grid .result-card {
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .indicator-results .results-grid {
        flex-direction: row !important;
        /* Keep slider horizontal */
        align-items: stretch !important;
    }

    .indicator-results .result-card {
        flex: 0 0 210px !important;
        /* Smaller size (half of 420px) */
        max-width: 210px !important;
    }

    /* Forms */
    .lead-wrapper {
        padding: 1.5rem 1rem !important;
    }

    .section-header h2 {
        font-size: 1.6rem !important;
    }

    .submit-btn {
        height: 44px !important;
        font-size: 1rem !important;
    }

    .form-success-msg h3 {
        font-size: 2rem !important;
    }

    .logo {
        font-size: 0.95rem !important;
    }

    /* Carousel */
    .logo-carousel-container {
        mask-image: none !important;
        /* Remove mask on mobile if it clips too much */
        -webkit-mask-image: none !important;
        padding: 1rem 0 !important;
        margin-top: -1rem !important;
    }

    .logo-carousel-track {
        display: flex !important;
        width: max-content !important;
        justify-content: flex-start !important;
        gap: 1.5rem !important;
        /* Smaller gap for mobile visibility */
        animation: scroll-infinite 20s linear infinite !important;
        /* Fast and smooth */
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .logo-carousel-track img {
        height: 25px !important;
        margin: 0 !important;
    }
}

/* --- Legal & Accessibility Suite --- */

/* Accessibility Modes */
body.acc-grayscale {
    filter: grayscale(100%) !important;
}

body.acc-invert {
    filter: invert(100%) !important;
    background-color: white !important;
}

body.acc-highContrast {
    filter: contrast(150%) brightness(120%) !important;
}

body.acc-readableFont * {
    font-family: Arial, sans-serif !important;
    line-height: 1.8 !important;
}

body.acc-stopAnimations * {
    animation: none !important;
    transition: none !important;
}

.reading-guide-line {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-blue);
    pointer-events: none;
    z-index: 10000;
    display: none;
}

body.acc-readingGuide .reading-guide-line {
    display: block;
}

/* Accessibility Floating Button */
.acc-floating-btn {
    position: fixed !important;
    bottom: 2rem !important;
    left: 2rem !important;
    width: 60px !important;
    height: 60px !important;
    background: var(--accent-blue) !important;
    border-radius: 50% !important;
    z-index: 9999 !important;
    font-size: 2rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.5) !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
}

.acc-floating-btn:hover {
    transform: scale(1.1);
}

/* Accessibility Drawer */
.acc-drawer {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: #111;
    z-index: 10001;
    transition: left 0.4s ease;
    padding: 2rem;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
    border-right: 1px solid var(--border);
    color: white;
    text-align: right;
}

.acc-drawer.active {
    left: 0;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    align-items: center;
}

.acc-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.acc-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.acc-grid button {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.acc-grid button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.acc-ranges {
    margin-bottom: 2rem;
}

.acc-ranges label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.acc-ranges input {
    width: 100%;
    accent-color: var(--accent-blue);
}

.acc-reset {
    width: 100%;
    padding: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    padding: 2.5rem !important;
    z-index: 10000 !important;
    border-top: 1px solid var(--accent-blue) !important;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5) !important;
    color: white;
    text-align: right;
}

.cookie-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer Legal Styles */
.footer-legal {
    background: #050505;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
    text-align: right;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    flex: 2;
    max-width: 800px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info .accent {
    color: var(--accent-blue);
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    text-align: justify;
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 2rem;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: right;
    min-width: 150px;
}

.footer-legal-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.footer-legal-link:hover {
    color: var(--accent-blue);
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10005;
    display: none;
    /* Controlled by JS class 'active' */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: white;
    text-align: right;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.legal-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.legal-header button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.legal-body {
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem !important;
    }
}

/* Bot Benefits Section Refined */
.bot-benefits-container {
    margin-top: 6rem;
    margin-bottom: 6rem;
    text-align: center;
}

.bot-benefits-container h3 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--accent-blue); /* Title is now blue */
    text-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    position: relative;
    display: inline-block;
}

.bot-benefits-container h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    border-radius: 2px;
}

.bot-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for a more organized look */
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 122, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex; /* Horizontal layout */
    flex-direction: row-reverse; /* Icons on the right in RTL */
    align-items: center;
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, transparent 100%);
    z-index: 0;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 122, 255, 0.2);
    background: rgba(20, 20, 20, 0.6);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 15px rgba(0, 122, 255, 0.4));
    transition: transform 0.5s ease;
    z-index: 1;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.25) rotate(-10deg);
}

.benefit-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    z-index: 1;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .bot-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .benefit-card {
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.2rem;
    }
    
    .benefit-card h4 {
        font-size: 1.2rem;
    }
    
    .bot-benefits-container h3 {
        font-size: 2.2rem;
    }
}


/* --- Improved Border Beam Effect (More Compatible) --- */
.border-beam {
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
}

.border-beam::before {
    content: '';
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 250%; /* Larger than button to ensure coverage during rotation */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(
        transparent 0%,
        transparent 70%,
        var(--beam-color-1, #007aff) 78%,
        var(--beam-color-2, #71C4FF) 85%,
        transparent 95%
    );
    animation: beam-spin 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.border-beam::after {
    content: '';
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 250%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(
        transparent 0%,
        transparent 72%,
        var(--beam-glow, rgba(0, 122, 255, 0.3)) 80%,
        transparent 95%
    );
    filter: blur(15px);
    z-index: -1;
    animation: beam-spin 4s linear infinite;
    pointer-events: none;
}

/* Internal masking to keep beam on the border */
.border-beam::before {
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 3px; /* Border thickness */
}

@keyframes beam-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Color Variants */
.beam-blue {
    --beam-color-1: #007aff;
    --beam-color-2: #71C4FF;
    --beam-glow: rgba(0, 122, 255, 0.5);
}

.beam-gold {
    --beam-color-1: #ffb700;
    --beam-color-2: #ffe08a;
    --beam-glow: rgba(255, 183, 0, 0.5);
}

/* Ensure content stays on top and has radius */
.border-beam span {
    position: relative;
    z-index: 2;
}

/* Reset buttons for the effect (only those with border-beam) */
.cta-group .btn-primary.border-beam,
.cta-group .btn-video.border-beam {
    background: #0d0d0d; 
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gift Styling */
.gift-image {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 2px solid rgba(0, 122, 255, 0.1);
}

.gift-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.gift-link:hover .gift-image {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 30px 60px rgba(0, 122, 255, 0.6);
}