/* Global Tech Reset */
:root {
    --bg-dark: #050507;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-accent: #00d4ff;
    /* Cyan */
    --secondary-accent: #8E2DE2;
    /* Purple */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --font-en: 'Inter', system-ui, sans-serif;
    --font-ar: 'Cairo', 'Tajawal', sans-serif;
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Scroll Snap Config */
    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
}

:lang(ar) body {
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
}

/* Language Toggle Logic - Critical Fix */
:lang(en) .lang-ar {
    display: none !important;
}

:lang(ar) .lang-en {
    display: none !important;
}

/* Scroll Snap Container */
.snap-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.snap-section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.btn {
    text-decoration: none;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-accent);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo-container img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-accent);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn:hover {
    color: var(--text-main);
    border-color: var(--text-main);
}

/* Section Specifics */

/* Hero Section Redesign */
.product-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(142, 45, 226, 0.08), transparent 40%);
    overflow: hidden;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #00d4ff 0%, #8E2DE2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translate(-300%, -100%);
    }

    100% {
        transform: rotate(45deg) translate(300%, 100%);
    }
}

.trust-badges {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-accent {
    color: var(--primary-accent);
}

/* Phone Frame & Animation */
.phone-frame {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1e1e24;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    /* Reflective rim */
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 30px;
    background: #1e1e24;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 100;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #050507;
    position: relative;
    overflow: hidden;
}

/* 1. Input Layer (Card) */
.input-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
    z-index: 10;
    animation: fadeOutInput 6s infinite;
}

.biz-card-mockup {
    width: 240px;
    height: 150px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card-logo {
    font-size: 1.5rem;
    color: #4285F4;
}

.card-name {
    font-weight: 800;
    font-size: 1.1rem;
}

.card-title {
    font-size: 0.8rem;
    color: #666;
}

.card-contact {
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: monospace;
}

/* 2. Scanner Beam */
.scanner-beam {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    /* Gradient tail */
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.8));
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 0 20px #00d4ff;
    z-index: 20;
    animation: scanMove 6s infinite ease-in-out;
}

/* 3. Result Layer */
.result-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f1016, #050507);
    padding: 50px 20px 20px;
    z-index: 5;
    opacity: 0;
    animation: fadeInResult 6s infinite;
}

.app-header {
    display: flex;
    justify-content: space-between;
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #8E2DE2);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.profile-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.profile-job {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.profile-company {
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Actions Grid */
.smart-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0;
    /* Hidden initially for pop animation */
    transform: translateY(10px);
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    /* iOS style */
    background: rgba(255, 255, 255, 0.08);
    /* Glass */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.call .icon-circle {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.whatsapp .icon-circle {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.email .icon-circle {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.save .icon-circle {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
}

.action-btn span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Details List */
.details-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 10px;
    opacity: 0;
    transform: translateY(10px);
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 16px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}

.detail-text label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.detail-text div {
    color: #fff;
    font-size: 0.95rem;
}

.tag.sales {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}

.success-toast {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 30, 36, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid #4ade80;
    opacity: 0;
    animation: toastPop 6s infinite;
}

.success-toast i {
    color: #4ade80;
}

/* Animation Logic 
   Timing: 6s Loop
   0-1s: Input Static
   1-2s: Scan Down
   2-2.5s: Fade to Result
   2.5-3.5s: Pop ins
   3.5-5s: Hold
   5-6s: Reset
*/

@keyframes scanMove {

    0%,
    10% {
        top: -120px;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    40% {
        top: 120%;
        opacity: 1;
    }

    45%,
    100% {
        top: 120%;
        opacity: 0;
    }
}

@keyframes fadeOutInput {

    0%,
    30% {
        opacity: 1;
        transform: scale(1);
    }

    35%,
    90% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInResult {

    0%,
    30% {
        opacity: 0;
        transform: scale(0.95);
    }

    35%,
    95% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Staggered Pop-ins */
.pop-in-1 {
    animation: popIn 6s infinite;
    animation-delay: 2.2s;
}

.pop-in-2 {
    animation: popIn 6s infinite;
    animation-delay: 2.3s;
}

.pop-in-3 {
    animation: popIn 6s infinite;
    animation-delay: 2.4s;
}

.pop-in-4 {
    animation: popIn 6s infinite;
    animation-delay: 2.5s;
}

.pop-in-5 {
    animation: popIn 6s infinite;
    animation-delay: 2.6s;
}

/* Details */

@keyframes popIn {

    0%,
    35% {
        opacity: 0;
        transform: translateY(15px);
    }

    42%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@keyframes toastPop {

    0%,
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    55%,
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Floating Elements */
.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-accent);
    backdrop-filter: blur(5px);
    z-index: 1;
    animation: float 4s infinite ease-in-out;
}

.float-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: 2s;
}

@keyframes float {}

@media (max-width: 900px) {
    .product-hero {
        text-align: center;
        padding: 120px 0 60px;
    }

    .hero-split {
        flex-direction: column-reverse;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .phone-frame {
        transform: none;
        width: 280px;
        height: 560px;
        margin-top: 2rem;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* About & Concepts */
.concept-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
}

.concept-img:hover {
    transform: scale(1.02);
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    color: var(--primary-accent);
}

/* Values */
.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
    transition: border-color 0.3s;
}

.values-list li:hover {
    border-color: var(--primary-accent);
}

.values-list strong {
    display: block;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.values-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

:lang(ar) .values-list li {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 2px solid var(--border-color);
}

/* Products */
.product-cards-wrapper {
    padding: 2rem 0;
}

.product-card {
    background: #0a0a0f;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
}

.p-visual {
    width: 100%;
    height: 300px;
    /* Fixed height for uniformity */
    overflow: hidden;
    position: relative;
    background: #000;
    /* Fallback */
}

.locked-asset-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures filling the area */
    object-position: center top;
    /* Focus on top part usually better for posters */
    transition: transform 0.5s;
    display: block;
}

.product-card:hover .locked-asset-sm {
    transform: scale(1.05);
}

.p-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.p-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.p-content .sub {
    font-size: 0.9rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.p-content .one-liner {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.p-bullets {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex: 1;
}

.p-bullets li::before {
    content: "•";
    color: var(--primary-accent);
    margin-right: 0.5rem;
}

:lang(ar) .p-bullets li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

.countdown-badge {
    background: rgba(142, 45, 226, 0.2);
    color: #c084fc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

/* Cycle & Perspectives */
.cycle-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    z-index: 2;
}

.step .num {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    background: #050507;
}

.line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 1rem;
    position: relative;
    top: -20px;
}

.perspectives-list .persp-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.perspectives-list .persp-item:last-child {
    border-bottom: none;
}

.perspectives-list .role {
    font-weight: 700;
    color: var(--primary-accent);
}

.visual-persp {
    text-align: center;
}

.concept-img-sm {
    max-width: 100%;
    border-radius: 8px;
    opacity: 0.8;
}

/* Proof */
.accent-icon {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.partner-logos span {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 1.5rem;
    opacity: 0.4;
    letter-spacing: 2px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    background: #0f1016;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    margin-top: 0.5rem;
}

.full-width {
    width: 100%;
}

/* Mobile */
.hamburger {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .snap-section {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1rem 4rem;
    }

    .hero-split {
        flex-direction: column-reverse;
    }

    .hero-left {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-right {
        height: 40vh;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .visual-block {
        order: -1;
    }

    .cycle-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .line {
        width: 2px;
        height: 30px;
        margin: 0 auto;
        top: 0;
    }
}


/* Product Page Specific */
.product-hero {
    text-align: center;
    padding: 150px 0 80px;
}

.product-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.countdown-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 4rem 0;
}

.time-unit {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    min-width: 100px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.time-unit span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.time-unit label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Animation Keyframes */
@keyframes fadeReveal {
    to {
        opacity: 1;
    }
}

/* -------------------------------------------------- */
/* Premium FAQ Accordion - Creative Design            */
/* -------------------------------------------------- */

/* FAQ Section Title */
.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #8E2DE2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
}

/* FAQ Card with Gradient Border */
.faq-item {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 15, 25, 0.9), rgba(5, 5, 10, 0.95));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient Border Effect */
.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 212, 255, 0.2) 50%, rgba(142, 45, 226, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

/* Hover - Neon Glow */
.faq-item:hover::before {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5) 0%, rgba(142, 45, 226, 0.4) 100%);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(142, 45, 226, 0.08);
}

/* Active State */
.faq-item.active::before {
    background: linear-gradient(135deg, #00d4ff 0%, #8E2DE2 100%);
}

.faq-item.active {
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2),
        0 0 80px rgba(142, 45, 226, 0.1);
}

/* Question Button */
.faq-question {
    width: 100%;
    text-align: inherit;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.faq-question>span {
    flex: 1;
}

.faq-question:hover {
    color: var(--primary-accent);
}

.faq-item.active .faq-question {
    color: #00d4ff;
}

/* Animated Icon Container */
.faq-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(142, 45, 226, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

/* Pricing Upgrade - Clean & Robust */

/* Top Row: Original Price + Badge */
.price-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center them relative to each other */
    gap: 15px;
    /* Clear space between number and badge */
    margin-bottom: 0px;
    min-height: 40px;
    /* Layout stability */
}

/* Original Price (Struck) */
.original-price {
    text-decoration: none;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem !important;
    /* Force visible size, but sensible */
    font-weight: 700;
    line-height: 1;
}

/* Strike Line (Relative to font) */
.original-price::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 0.12em;
    /* 12% of font size = proportional thickness */
    background-color: #ff3b30;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.8;
}

/* Badge (Pill) */
.discount-pill {
    background: #ff3b30;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    transform: rotate(5deg);
    /* Slight tilt for attention */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Final Price (Main) */
.price-final-text {
    font-size: 2.8rem;
    /* Big main price */
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-top: 5px;
}

.price-final-text span.period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Video Layout Fix */
.videos-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-frame {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-item:hover .faq-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(142, 45, 226, 0.2) 100%);
}

.faq-item.active .faq-icon-wrapper {
    background: linear-gradient(135deg, #00d4ff 0%, #8E2DE2 100%);
    transform: rotate(180deg);
}

.faq-icon {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-icon {
    color: #00d4ff;
}

.faq-item.active .faq-icon {
    color: #fff;
}

/* Answer Panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Answer Content */
.faq-content {
    padding: 0 2rem 1.75rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    font-size: 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

/* Decorative Line */
.faq-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.3) 50%, transparent 100%);
}

.faq-item.active .faq-content {
    opacity: 1;
    transform: translateY(0);
    padding-top: 1.25rem;
}

/* RTL Support */
[lang="ar"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

[lang="ar"] .faq-content::before {
    left: 2rem;
    right: 2rem;
}

/* Responsive */
}

@media (max-width: 768px) {
    .faq-container {
        gap: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;

        .faq-icon-wrapper {
            width: 32px;
            height: 32px;
        }
    }

    /* Close the previous media query properly */
}

/* -------------------------------------------------- */
/* Video Modal Styles                                 */
/* -------------------------------------------------- */

.video-modal {
    display: none;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    animation: zoomIn 0.3s ease;
    margin: auto;
}

.modal-content video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-accent);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* -------------------------------------------------- */
/* New Bottom App Window Section                      */
/* -------------------------------------------------- */

.app-window-container {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.window-header {
    background: #1a1a1a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.window-body {
    padding: 40px;
    background: radial-gradient(circle at top, #1a202c 0%, #0d0d10 100%);
    text-align: center;
}

.window-logo {
    width: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px cyan);
}

.bottom-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.feature-box-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-box-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-accent);
}

.feature-box-dark h4 {
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-box-dark p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

.videos-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

}

@media (max-width: 768px) {
    .bottom-grid-container {
        grid-template-columns: 1fr;
    }

    .window-body {
        padding: 20px;
    }
}

/* -------------------------------------------------- */
/* X Premium Pricing Redesign (User Request)          */
/* -------------------------------------------------- */

/* Container */
.pricing-x-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
    /* Space for sticky bar */
}

/* Header & Toggle */
.pricing-header-x {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header-x h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.toggle-container {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    padding: 4px;
    border-radius: 30px;
    position: relative;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    padding: 0.5rem 2rem;
    border-radius: 25px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.toggle-btn.active {
    background: #fff;
    color: #000;
}

/* Cards Grid */
.plans-grid-x {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Card Style */
.plan-card-x {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

/* Hover Effect */
.plan-card-x:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #050505;
}

/* Selected State */
.plan-card-x.selected {
    border: 2px solid var(--primary-accent);
    background: rgba(0, 212, 255, 0.03);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

/* Selection Circle (Top Left/Right) */
.select-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    /* LTR default */
    transition: all 0.3s;
}

:lang(ar) .select-circle {
    left: auto;
    right: 1.5rem;
}

.plan-card-x.selected .select-circle {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card-x.selected .select-circle::after {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #000;
}

/* Content */
.plan-header-x {
    text-align: right;
    /* To oppose the circle */
    margin-bottom: 2rem;
    min-height: 80px;
}

:lang(ar) .plan-header-x {
    text-align: left;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.plan-price-display {
    font-size: 1.8rem;
    font-weight: 700;
}

.plan-price-display span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Features List */
.plan-features-x {
    list-style: none;
    flex: 1;
    margin-bottom: 1rem;
}

.plan-features-x li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-features-x li i {
    color: #fff;
    /* White icon as per X design */
}

/* Badge (Most Popular) */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-accent);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Sticky Bottom Bar */
.sticky-footer-x {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

.footer-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-info {
    text-align: left;
}

:lang(ar) .footer-info {
    text-align: right;
}

.footer-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.subscribe-btn-x {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.subscribe-btn-x:hover {
    transform: scale(1.05);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 800px) {
    .plans-grid-x {
        grid-template-columns: 1fr;
    }

    .pricing-x-container {
        padding-bottom: 140px;
        /* More space on mobile */
    }
}

/* Free Months Badge Styles */
.free-months-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.free-months-badge i {
    font-size: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(245, 158, 11, 0.7);
    }
}



/* =========================================
   3-COLUMN HERO SCENE (ADDITION 1)
   ========================================= */
.hero-3col-scene {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #05070C;
    /* Deep Dark */
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Nav spacing */
}

/* --- COLUMNS --- */
.col-input,
.col-output {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally for flow */
}

.col-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Headers */
.col-header {
    position: absolute;
    top: 15%;
    text-align: center;
    width: 100%;
    z-index: 20;
}

.col-header h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.col-header h3 i {
    margin-right: 10px;
    color: var(--primary-accent);
}

.col-header p {
    color: #888;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- LEFT SIDE: INPUTS --- */
.input-floater {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    /* Glassy card */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 15px;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-100px) rotate(-10deg);
    animation: inputFlow 8s infinite ease-in-out;
}

/* Specific Input Delays & Pos */
.input-floater:nth-child(1) {
    top: 30%;
    animation-delay: 0s;
}

.input-floater:nth-child(2) {
    top: 45%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #1a1a1a, #000);
}

.input-floater:nth-child(3) {
    top: 60%;
    animation-delay: 3s;
}

.input-floater:nth-child(4) {
    top: 35%;
    left: 10%;
    animation-delay: 4.5s;
}

.input-floater:nth-child(5) {
    top: 55%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes inputFlow {
    0% {
        transform: translateX(-150%) rotate(-15deg) scale(0.8);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translateX(0) rotate(-5deg) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateX(120%) rotate(5deg) scale(0.9);
    }

    100% {
        opacity: 0;
        transform: translateX(150%) rotate(10deg) scale(0.5);
    }
}

/* Input Content Styling */
.fake-card-text {
    font-size: 0.6rem;
    color: #aaa;
    margin-top: 5px;
}

.fake-card-name {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
}

.fake-qr {
    width: 40px;
    height: 40px;
    background: #fff;
    margin-bottom: 5px;
}

/* --- CENTER: PHONE --- */
.phone-frame-3col {
    width: 320px;
    height: 650px;
    background: #000;
    border: 4px solid #333;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 50;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0f1219, #05070c);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Phone Notch */
.phone-notch {
    width: 50%;
    height: 30px;
    background: #000;
    position: absolute;
    top: 0;
    left: 25%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 60;
}

/* Phone Neon Scan Line */
.phone-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
    box-shadow: 0 0 10px var(--primary-accent);
    animation: scanLine 4s infinite linear;
    z-index: 55;
    opacity: 0.5;
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Inside Phone Content */
.bcap-logo-center {
    margin-top: 60px;
    text-align: center;
    animation: logoPulse 4s infinite ease-in-out;
}

.bcap-logo-center h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.bcap-logo-center span {
    color: var(--primary-accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

@keyframes logoPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 25px rgba(0, 212, 255, 1);
    }
}

/* Dashboard Mockup */
.dash-mock-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-title {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.dash-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.dash-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    width: 100%;
    margin-top: 3px;
}

.dash-fill {
    height: 100%;
    background: var(--primary-accent);
    border-radius: 2px;
}

/* --- RIGHT SIDE: OUTPUTS --- */
.output-floater {
    position: absolute;
    background: #fff;
    color: #000;
    padding: 15px 20px;
    border-radius: 20px 20px 20px 0;
    /* Chat bubble style */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 250px;
    opacity: 0;
    transform: translateX(-50px) scale(0.8);
    animation: outputBurst 8s infinite ease-out;
}

.output-floater i {
    color: var(--secondary-accent);
    margin-right: 8px;
}

/* Styles for specific outputs */
.output-floater.device-card {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
}

.output-floater:nth-child(1) {
    top: 30%;
    left: 10%;
    animation-delay: 2s;
}

.output-floater:nth-child(2) {
    top: 50%;
    left: 20%;
    animation-delay: 3.5s;
    background: #E3F2FD;
    color: #0D47A1;
}

.output-floater:nth-child(3) {
    top: 70%;
    left: 15%;
    animation-delay: 5s;
    border-radius: 20px 20px 0 20px;
}

.output-floater:nth-child(4) {
    top: 40%;
    left: 40%;
    animation-delay: 6.5s;
    background: #F3E5F5;
    color: #4A148C;
}

@keyframes outputBurst {
    0% {
        transform: translateX(-100px) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateX(20px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(100px) scale(1.1);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-3col-scene {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
        padding-bottom: 50px;
    }

    .col-input,
    .col-output {
        height: 300px;
        /* Limit height on mobile */
        width: 100%;
        overflow: hidden;
    }

    .col-phone {
        padding: 40px 0;
    }
}

0%,
100% {
    transform: translateY(0);
}

50% {
    transform: translateY(-3px);
}
}

/* --- SCAN HERO SECTION (NEW ADDITION) --- */
.scan-hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #050507;
    overflow: hidden;
}

.scan-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
    z-index: 0;
    filter: blur(60px);
}

.scan-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.08), transparent 70%);
    z-index: 0;
    filter: blur(60px);
}

.scan-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.scan-hero-content {
    color: #fff;
    padding-left: 1rem;
}

.bcap-badge-2 {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(14, 25, 36, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    color: #00d4ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    letter-spacing: 0.5px;
}

.scan-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: var(--font-en);
}

.scan-hero-title .highlight {
    background: linear-gradient(90deg, #00d4ff 0%, #8E2DE2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scan-hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 500px;
}

.scan-hero-btns {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.btn-cyan {
    background: #00d4ff;
    color: #000;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.4);
}

.btn-outline-play {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-outline-play:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.scan-hero-trust {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.scan-hero-trust div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-hero-trust i {
    color: #00d4ff;
    font-size: 1.1rem;
}

/* Right Side Visual */
.scan-visual-container {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1500px;
}

.scan-phone {
    width: 320px;
    height: 650px;
    background: #000;
    border: 10px solid #1e1e24;
    border-radius: 45px;
    position: relative;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: rotateY(-12deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.scan-phone:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.scan-screen {
    width: 100%;
    height: 100%;
    background: #050507;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1e1e24;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

.scanned-card {
    background: #fff;
    width: 250px;
    height: 160px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-g-logo {
    font-size: 2.2rem;
    color: #4285F4;
    margin-bottom: 12px;
}

.card-details h4 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: sans-serif;
}

.card-details p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 2px;
    font-family: sans-serif;
}

.scanning-beam {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00d4ff;
    box-shadow: 0 0 20px #00d4ff, 0 0 40px rgba(0, 212, 255, 0.8);
    z-index: 10;
    animation: scanAnimation 4s ease-in-out infinite;
}

.scanning-overlay {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.0), rgba(0, 212, 255, 0.2) 80%, rgba(0, 212, 255, 0.4) 100%);
    z-index: 5;
    animation: scanAnimation 4s ease-in-out infinite;
    /* Moves with beam */
}

@keyframes scanAnimation {
    0% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        top: 70%;
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    100% {
        top: 70%;
        opacity: 0;
    }
}

.phone-app-icons {
    position: absolute;
    top: 40px;
    right: 20px;
    font-size: 1.4rem;
    color: #1a1a1a;
    /* Dark icon on potentially light bg if any, but screen is dark */
}

.floating-grid-icon {
    position: absolute;
    top: 60px;
    right: -30px;
    width: 60px;
    height: 60px;
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 20;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 900px) {
    .scan-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scan-hero-content {
        padding: 0;
    }

    .scan-hero-btns {
        justify-content: center;
    }

    .scan-hero-trust {
        justify-content: center;
    }

    .scan-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .scan-visual-container {
        margin-top: 4rem;
    }

    .scan-phone {
        width: 280px;
        height: 560px;
        transform: none;
    }

    .floating-grid-icon {
        right: 0;
        top: 20px;
    }
}