:root {
    --bg-color: #040814;
    --text-primary: #e0e6ed;
    --text-secondary: #8b9bb4;
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.4);
    --secondary-accent: #b026ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
}

[lang="ar"] {
    --font-heading: var(--font-arabic);
    --font-body: var(--font-arabic);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

.glow-orb {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
    animation: pulseOrb 8s alternate infinite;
}

@keyframes pulseOrb {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(4, 8, 20, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

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

/* Dropdown Navbar Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(4, 8, 20, 0.95);
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    border: 1px solid var(--accent-glow);
    border-radius: 8px;
    z-index: 200;
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    text-transform: capitalize;
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: rgba(0, 240, 255, 0.1);
    border-radius: inherit;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.translate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.translate-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    color: var(--accent-color);
}

main {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow) inset, 0 0 20px var(--accent-glow);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

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

.cta-btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 30px var(--accent-glow);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.robot-model {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px solid var(--card-border);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.core-eye {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px var(--accent-glow);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.core-eye::after {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(4px);
    animation: eyeScan 4s ease-in-out infinite alternate;
}

@keyframes eyeScan {
    0% { transform: translateX(-20px) scale(0.8); }
    100% { transform: translateX(20px) scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 60%, var(--accent-color) 61%, transparent 62%),
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--accent-color) 2deg, transparent 4deg, transparent 90deg, var(--accent-color) 92deg, transparent 94deg);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 0;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.security-section {
    padding: 5rem 0;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.shield-visual {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shield-core {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 5px;
    transform: rotate(45deg);
    box-shadow: 0 0 30px var(--accent-glow);
    animation: pulseShield 3s infinite alternate;
}

.shield-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: spin 10s linear infinite;
    opacity: 0.5;
}

@keyframes pulseShield {
    0% { transform: rotate(45deg) scale(0.9); box-shadow: 0 0 10px var(--accent-glow); }
    100% { transform: rotate(45deg) scale(1.1); box-shadow: 0 0 40px var(--accent-glow); }
}

.sec-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.sec-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.sec-list {
    list-style: none;
}

.sec-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

[dir="rtl"] .sec-list li {
    padding-left: 0;
    padding-right: 2rem;
}

.sec-list li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    top: 5px;
}

[dir="rtl"] .sec-list li::before {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

.tiers-section {
    padding: 5rem 0 8rem;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tier-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.tier-card.featured {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.tier-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.tier-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--accent-glow);
}

.tier-card p {
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .security-content {
        flex-direction: column;
        text-align: center;
    }
    .sec-list li {
        text-align: left;
    }
    [dir="rtl"] .sec-list li {
        text-align: right;
    }
}

.stats-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 3rem 0 6rem;
    gap: 2rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 5rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 240, 255, 0.02);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--accent-glow);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto 8rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

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

.faq-question:hover {
    background: rgba(0, 240, 255, 0.05);
    color: var(--accent-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
}

.bottom-cta {
    text-align: center;
    padding: 6rem 0 8rem;
    position: relative;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.bottom-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px var(--accent-glow);
}

.bottom-cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* NEW HOME SECTIONS & AGENTS SECTIONS */
.testimonials {
    padding: 4rem 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: var(--card-bg);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    transition: all 0.3s ease;
}

.testi-card h4 {
    margin-top: 1rem;
    color: var(--accent-color);
    font-style: normal;
}

.timeline {
    padding: 4rem 0;
}

.timeline-container {
    max-width: 600px;
    margin: 0 auto;
    border-left: 2px solid var(--card-border);
    padding-left: 2rem;
}

[dir="rtl"] .timeline-container {
    border-left: none;
    border-right: 2px solid var(--card-border);
    padding-left: 0;
    padding-right: 2rem;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
}

.step-dot {
    position: absolute;
    left: -2.6rem;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

[dir="rtl"] .step-dot {
    left: auto;
    right: -2.6rem;
}

.timeline-step h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-hub {
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* CARDS FOR AGENTS */
.hero-agents {
    min-height: 40vh;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.hero-agents .centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.agent-section {
    padding: 1.5rem 0;
}

.agent-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.agent-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--card-border);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px var(--accent-glow);
}

/* INDIVIDUAL AGENT PAGES */
.agent-detail-page header {
    position: static;
}

.agent-detail-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5%;
    position: relative;
    z-index: 2;
}

.agent-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    background-color: #040814;
    border: 2px solid var(--card-border);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px rgba(0, 240, 255, 0.1);
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.agent-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
}

.claude-logo-img {
    width: 72px;
    height: 72px;
}

.chatgpt-logo-img {
    width: 100px;
    height: 100px;
    top: 53%;
}

.claude-logo-large {
    box-shadow: 0 0 30px rgba(247, 65, 4, 0.811);
}

.gemini-logo { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%231a73e8"/><stop offset="100%" stop-color="%23c5221f"/></linearGradient></defs><path fill="url(%23g)" d="M50 0 Q50 50 100 50 Q50 50 50 100 Q50 50 0 50 Q50 50 50 0 Z"/></svg>'); }
.copilot-logo { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23fff" d="M50 10 C 27.9 10 10 27.9 10 50 C 10 67.7 21.5 82.6 37.4 87.8 C 39.4 88.2 40.1 86.9 40.1 85.9 C 40.1 85 40 82.8 40 79.5 C 28.9 81.9 26.5 74.2 26.5 74.2 C 24.7 69.6 22 68.3 22 68.3 C 18.3 65.8 22.3 65.9 22.3 65.9 C 26.4 66.2 28.5 70 28.5 70 C 32.1 76.2 38 74.4 40.3 73.4 C 40.7 70.8 41.7 69 42.8 68.1 C 33.9 67.1 24.6 63.6 24.6 47.9 C 24.6 43.4 26.2 39.7 28.8 36.9 C 28.4 35.8 27 31.7 29.2 26 C 29.2 26 32.6 24.9 40 30 C 43.2 29.1 46.7 28.6 50 28.6 C 53.3 28.6 56.8 29.1 60 30 C 67.4 24.9 70.8 26 70.8 26 C 73 31.8 71.6 35.9 71.2 36.9 C 73.8 39.8 75.4 43.4 75.4 47.9 C 75.4 63.7 66 67.1 57.1 68 C 58.5 69.2 59.8 71.6 59.8 75.3 C 59.8 80.6 59.8 84.8 59.8 85.9 C 59.8 86.9 60.5 88.2 62.6 87.8 C 78.5 82.6 90 67.7 90 50 C 90 27.9 72.1 10 50 10 Z"/></svg>'); box-shadow: 0 0 30px rgba(255,255,255,0.2); }
.grok-logo { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23fff" d="M22 20 L46 52 L22 80 L35 80 L52 60 L68 80 L80 80 L54 48 L76 20 L63 20 L48 38 L34 20 Z" /></svg>'); }
.lovable-logo { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ff007f" d="M50 85 C 50 85 15 54 15 37 C 15 27 23 19 32 19 C 37 19 42 22 50 29 C 58 22 63 19 68 19 C 77 19 85 27 85 37 C 85 54 50 85 50 85 Z"/></svg>'); box-shadow: 0 0 30px rgba(255,0,127,0.4); }

.detail-section {
    padding: 4rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.detail-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.features-grid-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.feat-box h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.matrix-section {
    padding: 4rem 0;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: center;
}

.matrix-col {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(4, 8, 20, 0.8);
}

/* RTL Support */
[dir="rtl"] .logo {
    font-family: var(--font-arabic);
}
[dir="rtl"] .hero-content h1 {
    font-family: var(--font-arabic);
}
[dir="rtl"] .cta-btn, [dir="rtl"] .feature-card h3, [dir="rtl"] .section-title, [dir="rtl"] .sec-text h3, [dir="rtl"] .tier-card h3, [dir="rtl"] .faq-question, [dir="rtl"] .bottom-cta-content h2, [dir="rtl"] .stat-label, [dir="rtl"] .testi-card h4, [dir="rtl"] .timeline-step h3, [dir="rtl"] .agent-card h2, [dir="rtl"] .main-nav a {
    font-family: var(--font-arabic);
}
[dir="rtl"] .hero-content {
    text-align: right;
}
[dir="rtl"] .logo {
    flex-direction: row-reverse;
}
[dir="rtl"] .translate-btn {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    [dir="rtl"] .hero-content {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .robot-model {
        width: 250px;
        height: 250px;
    }
}
