@font-face {
    font-family: 'Forma DJR Arabic Text';
    src: url('../font/alfont_com_FormaDJRArabicText-Medium-Testing.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Light Mode Colors */
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --frame-border: #eeeeee;
    --bento-bg: #f9f9f9;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --card-border: #eeeeee;
    --accent-color: #000000;
    --accent-text: #ffffff;
    
    /* Fonts */
    --font-main: 'Rubik', sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-main);
    font-weight: 516;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --frame-border: #222222;
    --bento-bg: #151515;
    --nav-bg: rgba(10, 10, 10, 0.9);
    --card-border: #222222;
    --accent-color: #ffffff;
    --accent-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.2s; }
.stagger-2 { transition-delay: 0.4s; }
.stagger-3 { transition-delay: 0.6s; }
.stagger-4 { transition-delay: 0.8s; }
.stagger-5 { transition-delay: 1.0s; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Top Lines --- */
.top-lines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.8), transparent);
    animation: slideLine 3s ease-in-out infinite;
}

.top-line:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

.top-line:nth-child(3) {
    animation-delay: 1s;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), transparent);
}

@keyframes slideLine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --- Hero Section with Framed Video --- */
.hero-framed {
    width: 100%;
    height: 200vh;
    position: relative;
    z-index: 10;
}

.container-frame {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 85vh;
    border: 1px solid var(--frame-border);
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1);
    z-index: 100;
    transition: width 0.1s linear, height 0.1s linear, border-radius 0.1s linear, border-color 0.3s ease;
    will-change: width, height, border-radius;
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    border: none;
    filter: brightness(0.6);
}

.hero-glow {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.5) 0%, rgba(59, 130, 246, 0.3) 30%, rgba(37, 99, 235, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.bento-glow {
    position: absolute;
    bottom: -150px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.8) 0%, rgba(59, 130, 246, 0.6) 30%, rgba(37, 99, 235, 0) 70%);
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

/* --- Navigation Bar --- */
.navbar-inside {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: auto;
    max-width: 90vw;
    z-index: 100000;
    padding: 16px 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--frame-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50px;
    opacity: 0;
}

.navbar-inside.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    background: var(--accent-color);
    color: var(--accent-text);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.nav-links { display: flex; gap: 25px; }
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    backdrop-filter: blur(20px);
    padding: 25px 30px;
    border-radius: 0 0 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--frame-border);
    border-top: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: background 0.3s ease;
    font-family: var(--font-main);
}

.mobile-nav-link:hover {
    background: var(--bento-bg);
}

.mobile-btn-login,
.mobile-btn-signup {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-btn-login {
    background: var(--bento-bg);
    color: var(--text-primary);
    border: 1px solid var(--frame-border);
}

.mobile-btn-signup {
    background: var(--accent-color);
    color: var(--accent-text);
}

.btn-login {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: var(--bento-bg);
}

.btn-dark-mode {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-dark-mode:hover {
    background: var(--bento-bg);
}

.btn-dark-mode .icon-dark { display: none; }
[data-theme="dark"] .btn-dark-mode .icon-light { display: none; }
[data-theme="dark"] .btn-dark-mode .icon-dark { display: block; }

.btn-signup {
    background: var(--accent-color);
    color: var(--accent-text);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Text Overlay --- */
.text-overlay {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    transform: translateY(var(--hero-y-offset, 0px));
    z-index: 10;
    text-align: right;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: opacity 0.3s ease;
}

.text-content {
    width: min(100%, 900px);
    margin: 0 0 0 auto;
}

.hero-title {
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-tagline {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: 0;
}

.btn-cta {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    margin: -5px;
    animation: scroll-arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll-wheel {
    0% { opacity: 0; top: 8px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

@keyframes scroll-arrows {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}


/* --- Bento Grid --- */
.bento-section {
    padding: 100px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease;
}

.bento-section .section-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title { 
    font-size: 32px; 
    text-align: center; 
    margin-bottom: 50px; 
    color: var(--text-primary);
}

.section-header .section-title {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 20px;
}

.bento-item {
    background: var(--bento-bg);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
    border: 1px solid var(--frame-border);
    position: relative;
}
.bento-item.large {
    grid-column: span 2;
    flex-direction: row-reverse;
    align-items: stretch; /* Stretch to full height */
    padding: 0;
    max-width: 860px;
    width: 100%;
    justify-self: center;
}

.bento-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.large .bento-image {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
}

.large .bento-image img {
    object-fit: cover; /* Ensuring full height for large items too */
}

.bento-content {
    padding: 24px;
    background: transparent;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.large .bento-content {
    width: 50%;
}

.bento-item.large .bento-content p {
    max-width: 26ch;
}

.bento-content h3 { font-size: 18px; margin-bottom: 10px; }
.bento-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- Infrastructure Section --- */
.infra-section {
    padding: 150px 20px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    z-index: 20;
}

.infra-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.infra-content {
    flex: 1;
    text-align: right;
}

.badge-new {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #3b82f6;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title-alt {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight-blue {
    color: #3b82f6;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.infra-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.infra-stat {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.stat-icon {
    font-size: 24px;
    background: var(--bento-bg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--frame-border);
}

.stat-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-cta.secondary {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* --- Infra Visual --- */
.infra-visual-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infra-core {
    position: relative;
    width: 350px;
    height: 350px;
}

.core-rings {
    position: absolute;
    inset: 0;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.ring:nth-child(1) { width: 100%; height: 100%; border-style: dashed; animation: rotate 20s linear infinite; }
.ring:nth-child(2) { width: 70%; height: 70%; animation: pulse-ring 4s ease-in-out infinite; }
.ring:nth-child(3) { width: 40%; height: 40%; background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); }

.core-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #3b82f6;
    border-radius: 25px;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-node {
    width: 40px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 6px;
    position: relative;
}

.server-node::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 12px 0 0 #fff, 24px 0 0 #fff;
}

.location-tag {
    position: absolute;
    bottom: -40px;
    background: var(--nav-bg);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--frame-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.location-tag .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.location-tag .text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse-ring { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 968px) {
    .infra-flex { flex-direction: column; text-align: center; gap: 100px; }
    .infra-content { text-align: center; }
    .section-title-alt { font-size: 36px; }
    .section-desc { margin: 0 auto 40px; }
    .infra-stats-grid { text-align: right; }
}

/* --- How it Works --- */
.how-it-works {
    padding: 120px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
}

.step-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--text-primary);
    opacity: 0.04;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 1;
}

.step-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 250px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .step-card:not(:last-child)::after {
        content: '←'; /* Arabic RTL arrow */
        position: absolute;
        top: 50%;
        left: -20px;
        font-size: 24px;
        color: var(--frame-border);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .bento-image { height: 150px; }
}

/* --- Pricing --- */
.pricing-section {
    padding: 100px 20px;
    background: var(--bg-color);
    color: var(--text-primary);
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease;
}

.pricing-section .section-title { color: var(--text-primary); }
.pricing-section .section-subtitle { color: var(--text-secondary); }

.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 20px; 
}

.pricing-card {
    padding: 40px 30px;
    border: 1px solid var(--frame-border);
    border-radius: 20px;
    text-align: center;
    background: var(--bento-bg);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.pricing-card.featured {
    background: var(--accent-color);
    color: var(--accent-text);
    border-color: var(--accent-color);
    position: relative;
    z-index: 2;
}

.pricing-card.featured .price,
.pricing-card.featured h3,
.pricing-card.featured .card-desc,
.pricing-card.featured li {
    color: var(--accent-text);
}

.pricing-card.featured .price span,
.pricing-card.featured .card-desc {
    opacity: 0.7;
}

.tier-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    text-align: right;
}

.tier-label.green { color: #10b981; }
.tier-label.light-blue { color: #3b82f6; }
.tier-label.orange { color: #f59e0b; }

.pricing-card.featured .tier-label {
    color: var(--accent-text);
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: right;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin: 15px 0;
    text-align: right;
    display: flex;
    align-items: baseline;
    gap: 8px;
    direction: ltr;
    justify-content: flex-end;
}

.price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: right;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 35px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.pricing-card li {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.pricing-card li::before {
    content: '✓';
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
}

.pricing-card.featured li::before {
    color: var(--accent-text);
}

.star-list li::before {
    content: '★';
    color: #fbbf24;
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--frame-border);
    background: var(--bg-color);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pricing.primary {
    background: var(--accent-text);
    color: var(--accent-color);
    border-color: var(--accent-text);
}


/* Fix Hero & Bento Hovers to be smoother - REMOVED */

/* --- FAQ Section --- */
.faq-section {
    padding: 120px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 30;
}

.pricing-section {
    position: relative;
    z-index: 30;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.1);
    background: var(--bg-color);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.faq-question i {
    font-size: 14px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Footer & Glow --- */
.main-footer {
    background: radial-gradient(circle at center, #0a192f 0%, #050b1a 100%); /* Deep Navy/Blue background */
    color: #fff;
    padding: 150px 0 0 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 100;
}

.footer-glow-container {
    position: relative;
    background: transparent;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: -1px;
    color: #3b82f6; /* Electric Blue Logo */
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-cta h2 {
    font-size: 68px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-cta p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.footer-bottom {
    margin-top: 150px;
    padding: 50px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 15px;
    color: rgba(147, 197, 253, 0.5);
    background: transparent;
}

.cyan-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 250%; /* Even wider */
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

/* Add an extra glow behind the content */
.main-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 80%);
    filter: blur(150px);
    z-index: 0;
}

/* --- Companies Slider --- */
.companies-slider-section {
    padding: 80px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease;
}

.companies-slider-section .section-title {
    font-size: 32px;
    color: var(--text-primary);
}

.companies-slider-section .section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.companies-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: var(--bento-bg);
    border-radius: 16px;
    border: 1px solid var(--frame-border);
    min-width: 200px;
    height: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.slide img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 60px));
    }
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .navbar-inside {
        width: calc(100% - 32px);
        max-width: 100%;
        top: 14px;
        padding: 12px 18px;
        border-radius: 18px;
    }
    .nav-content {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }
    .nav-actions { gap: 8px; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .btn-login { display: none; }
    .btn-signup { display: none; }
    .mobile-menu {
        padding: 16px;
        border-radius: 0 0 16px 16px;
    }
    .hero-title { font-size: 56px; } /* Adjusted for 1024px */
    .hero-tagline { font-size: 20px; } /* Adjusted for 1024px */
    .section-title { font-size: 28px; }
    .footer-cta h2 { font-size: 52px; }
    .footer-cta p { font-size: 20px; }
}

@media (max-width: 768px) {
    .hero-framed { height: 160vh; }
    .navbar-inside {
        width: calc(100% - 20px);
        padding: 10px 12px;
        top: 10px;
        border-radius: 14px;
    }
    .logo-text { display: none; }
    .logo-img { height: 34px; }
    .btn-dark-mode {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .mobile-menu-toggle { padding: 6px; }
    .mobile-menu {
        left: 0;
        right: 0;
    }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item.large {
        grid-column: span 1;
        flex-direction: column;
    }
    .large .bento-image, .large .bento-content {
        width: 100%;
    }
    .text-overlay { 
        bottom: 10%;
        transform: translateY(var(--hero-y-offset, 0px));
        text-align: right;
        width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .hero-title { 
        font-size: 38px; 
    }
    
    .hero-tagline { 
        font-size: 18px; 
        max-width: 300px; 
        margin: 0 0 20px auto; 
    }
    .btn-cta { padding: 12px 30px; font-size: 14px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-cta h2 { font-size: 36px; }
    
    .companies-slider-section { padding: 50px 20px; }
    .slider-track { gap: 30px; }
    .slide { min-width: 150px; height: 80px; padding: 15px 25px; }
    .slide img { max-width: 100px; max-height: 40px; }
    
    .steps-grid { grid-template-columns: 1fr; gap: 30px; }
    .step-card { padding: 20px; }
    .step-number { font-size: 60px; }
    
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }
}

@media (max-width: 480px) {
    .hero-framed { height: 145vh; }
    .navbar-inside { width: calc(100% - 12px); }
    .hero-title { font-size: 32px; }
    .hero-tagline { font-size: 16px; }
    .text-overlay { bottom: 18%; transform: translateY(var(--hero-y-offset, 0px)); }
    .btn-cta { padding: 10px 20px; font-size: 12px; }
    .container-frame { width: 95vw; height: 90vh; border-radius: 16px; }
    
    .companies-slider-section { padding: 30px 15px; }
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 12px; }
}

@media (max-width: 375px) {
    .hero-title { font-size: 28px; }
    .hero-tagline { font-size: 14px; }
    .text-overlay { bottom: 16%; transform: translateY(var(--hero-y-offset, 0px)); }
}
