:root {
    --bg: #060610;
    --bg-alt: #0c0c1a;
    --text: #f0f0f8;
    --text-muted: #8892a4;
    --accent: #00d4ff;
    --accent-dim: rgba(0, 212, 255, 0.12);
    --accent-glow: rgba(0, 212, 255, 0.25);
    --glass: rgba(255, 255, 255, 0.035);
    --border: rgba(255, 255, 255, 0.07);
    --font-h: 'Outfit', 'Cairo', sans-serif;
    --font-b: 'Inter', 'Cairo', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --speed: 0.4s;
}

/* Preload animation */
@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    animation: fadeInPage 0.5s ease-in;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Smooth transitions for theme changes */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

*:where(:not(:active):not(:focus)) {
    transition-property: none;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    cursor: pointer;
    font-family: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* RTL */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] blockquote {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .text-center,
[dir="rtl"] .text-center * {
    text-align: center;
}

[dir="rtl"] .pipe-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .collab-point {
    flex-direction: row-reverse;
}

[dir="rtl"] .glass-card.fade-in-scroll {
    direction: rtl;
}

@media (max-width: 768px) {
    [dir="rtl"] .hero-text {
        text-align: center;
    }

    [dir="rtl"] .hero-actions {
        justify-content: center;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-h);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 20%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text);
}

h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 4px;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-desc {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.subtitle {
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.mt-lg {
    margin-top: 2.5rem;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 56px;
}

.dark-section {
    background: var(--bg-alt);
}

/* Grids */
.grid {
    display: grid;
    gap: 24px;
}

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

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-2-1 {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--speed) var(--ease);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--speed);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: var(--font-h);
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.15);
    letter-spacing: 0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--speed) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--text) 0%, #e0e0e8 100%);
    color: var(--bg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #00b8e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.glow-btn:hover {
    box-shadow: 0 0 35px var(--accent-glow), 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Icons */
.lucide,
i[data-lucide] {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 14px 0;
    transition: all var(--speed) var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar.glass {
    background: rgba(6, 6, 16, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

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

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(12, 12, 26, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s var(--ease);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.05rem;
    color: var(--text);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.mobile-nav-links a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
    height: 420px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.orb-1 {
    width: 260px;
    height: 260px;
    background: var(--accent);
    opacity: 0.15;
    top: 10%;
    right: 10%;
    animation: drift 10s ease-in-out infinite;
}

.orb-2 {
    width: 180px;
    height: 180px;
    background: #7c3aed;
    opacity: 0.12;
    bottom: 15%;
    left: 5%;
    animation: drift 8s ease-in-out infinite reverse;
}

.orb-3 {
    width: 120px;
    height: 120px;
    background: #06b6d4;
    opacity: 0.1;
    top: 50%;
    right: 40%;
    animation: drift 12s ease-in-out infinite 2s;
}

@keyframes drift {

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

    50% {
        transform: translate(20px, -25px);
    }
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* Problem Section */
.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-cards .glass-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.card-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.pull-quote {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border-left: 3px solid var(--accent);
}

[dir="rtl"] .pull-quote {
    border-left: none;
    border-right: 3px solid var(--accent);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    opacity: 0.5;
}

blockquote {
    font-family: var(--font-h);
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
}

.pull-quote span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Solution Cards */
.sol-card {
    text-align: center;
    position: relative;
}

.sol-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-h);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

.sol-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Pipeline */
.pipeline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.pipe-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.pipe-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.pipe-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.pipe-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    opacity: 0.4;
}

/* Scales */
.scale-card {
    text-align: center;
    padding: 40px 24px;
}

.scale-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    text-shadow: 0 0 24px var(--accent-glow);
}

/* Team */
.team-card {
    text-align: center;
    padding: 40px 24px;
}

.team-avatar {
    margin-bottom: 16px;
}

.avatar-icon {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    margin: 0 auto;
}

/* Collaboration */
.collab-wrapper {
    padding: 56px 48px;
    border-color: rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 58, 237, 0.04));
    position: relative;
    overflow: hidden;
}

.collab-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.collab-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

[dir="rtl"] .collab-content {
    margin-left: auto;
    margin-right: 0;
}

.collab-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.collab-point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text);
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--speed) var(--ease);
}

.collab-point:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(8px);
}

[dir="rtl"] .collab-point:hover {
    transform: translateX(-8px);
}

.cp-icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 28px;
    opacity: 0.7;
}

.footer-right p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: up 0.7s var(--ease) forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    transform: translateY(24px);
    animation: up 0.7s var(--ease) 0.15s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(24px);
    animation: up 0.7s var(--ease) 0.3s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    transform: translateY(24px);
    animation: up 0.7s var(--ease) 0.45s forwards;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Animations */
.hover-float {
    transition: transform var(--speed) var(--ease);
}

.hover-float:hover {
    transform: translateY(-4px);
}

.hover-float-x {
    transition: transform var(--speed) var(--ease);
}

.hover-float-x:hover {
    transform: translateX(4px);
}

[dir="rtl"] .hover-float-x:hover {
    transform: translateX(-4px);
}

.pulse-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 20px 4px var(--accent-glow);
    }
}

.pulse-icon {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 transparent);
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px var(--accent-glow));
    }
}

.glow-text {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.slide-arrow {
    animation: slide 1.5s ease-in-out infinite;
}

@keyframes slide {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(6px);
        opacity: 0.8;
    }
}

[dir="rtl"] .slide-arrow {
    animation: slide-rtl 1.5s ease-in-out infinite;
}

@keyframes slide-rtl {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(-6px);
        opacity: 0.8;
    }
}

/* Floating UI Cards */
.floating-ui-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    animation: float 3s ease-in-out infinite;
}

.floating-ui-card.card-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-ui-card.card-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes float {

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

    50% {
        transform: translateY(-12px) translateX(8px);
    }
}

.floating-ui-card i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.floating-ui-card h4 {
    font-size: 0.95rem;
    margin: 0;
}

/* Trusted Banner */
.trusted-banner {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trusted-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.trusted-logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.trust-badge i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Typing Effect */
.typing-container {
    overflow: visible;
    min-height: 1.2em;
}

.typing-text {
    display: inline-block;
    white-space: normal;
    overflow: visible;
}

/* Only apply typing animation on desktop */
@media (min-width: 769px) {
    .typing-text {
        border-right: 3px solid transparent;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2-1 {
        grid-template-columns: 1fr;
    }

    .pull-quote {
        position: static;
        border-left: 3px solid var(--accent);
        margin-top: 24px;
    }

    [dir="rtl"] .pull-quote {
        border-left: none;
        border-right: 3px solid var(--accent);
    }

    .floating-ui-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        height: 200px;
        margin: 0 auto;
        max-width: 300px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .subtitle {
        margin: 0 auto 36px;
    }

    .trusted-banner {
        margin-top: 32px;
        padding-top: 24px;
    }

    .trusted-label {
        justify-content: center;
        text-align: center;
    }

    .trusted-logos {
        justify-content: center;
    }

    .typing-text {
        white-space: normal;
        border-right: none;
        animation: none;
    }

    .grid-3,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .problem-cards .glass-card {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 12px;
    }

    .pipeline {
        flex-direction: column;
        align-items: stretch;
    }

    .pipe-step {
        min-width: 100%;
    }

    .pipe-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
        margin: 0 auto;
    }

    [dir="rtl"] .pipe-arrow {
        transform: rotate(90deg);
    }

    .collab-wrapper {
        padding: 32px 24px;
    }

    .collab-content {
        max-width: 100%;
    }

    .collab-point {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .collab-point:hover {
        transform: translateX(4px);
    }

    [dir="rtl"] .collab-point:hover {
        transform: translateX(-4px);
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .glass-card {
        padding: 20px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-badge {
        font-size: 0.85rem;
        padding: 8px 14px;
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .sol-card {
        padding: 24px 20px;
    }

    .sol-num {
        font-size: 2rem;
        top: 10px;
        right: 12px;
    }

    .pipe-step {
        padding: 20px;
    }

    .collab-points {
        gap: 12px;
    }

    .collab-point {
        font-size: 0.95rem;
    }
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

[dir="rtl"] .form-grid {
    direction: rtl;
}

.collab-form-wrapper {
    background: rgba(12, 12, 26, 0.4);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

[dir="rtl"] .form-group {
    text-align: right;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-b);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-b);
    font-size: 1rem;
    transition: all var(--speed) var(--ease);
    width: 100%;
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Surgical AI Interface Mockup */
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 10;
}

.mockup-frame {
    background: rgba(12, 12, 26, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.15);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s var(--ease);
}

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

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

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

.mockup-dot.red {
    background: #ff5f56;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

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

.mockup-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 12px;
    font-family: monospace;
}

.mockup-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
}

.mockup-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.scanning-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 15px 4px var(--accent-glow);
    animation: scan 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes scan {

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

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

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

.ai-box {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    z-index: 20;
    transform: scale(0.9);
    animation: pulse-ui 3s infinite alternate;
}

.ai-box .box-label {
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 2px;
    font-weight: 700;
}

.ai-box .box-value {
    font-size: 0.85rem;
    color: var(--text);
    font-family: monospace;
}

.phase-box {
    top: 10%;
    right: 5%;
    border-color: rgba(0, 212, 255, 0.3);
}

.risk-box {
    bottom: 10%;
    left: 5%;
    border-color: rgba(39, 201, 63, 0.3);
}

.tool-box {
    top: 40%;
    left: 30%;
    border: none;
    background: transparent;
    padding: 0;
}

.bounding-corners {
    position: absolute;
    width: 150px;
    height: 100px;
    border: 2px solid var(--accent);
    top: -30px;
    left: -20px;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.tool-box .box-label,
.tool-box .box-value {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

@keyframes pulse-ui {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 1;
    }
}

/* Demo Button */
.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 16px 8px 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--speed) var(--ease);
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.play-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
}

.play-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-left: 2px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: left;
}

[dir="rtl"] .faq-grid {
    text-align: right;
}

.faq-item {
    text-align: inherit;
    padding: 32px;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* Footer Additions */
.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-divider {
    color: var(--border);
    font-size: 0.8rem;
}

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

[dir="rtl"] .text-right {
    text-align: left;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-bottom: 12px;
}

[dir="rtl"] .social-links {
    justify-content: flex-start;
}

.social-icon {
    color: var(--text-muted);
    transition: all 0.3s;
    display: inline-flex;
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }

    [dir="rtl"] .social-links {
        justify-content: center;
    }
}