:root {
    --bg-color: #050505;
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    --accent: #ffffff;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --font-main: 'Tajawal', sans-serif;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Layout */
.layout-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Visual Panel (Right side in RTL) */
.visual-panel {
    flex: 1;
    position: relative;
    background: url('assets/images/background.png') center/cover no-repeat;
    background-color: #111; /* fallback */
    display: flex;
    align-items: flex-start;
    padding: 3rem;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, rgba(0,0,0,0.2) 0%, rgba(5,5,5,0.8) 100%);
    z-index: 1;
}

.brand-logo {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Content Panel (Left side in RTL) */
.content-panel {
    flex: 1;
    max-width: 800px;
    display: flex;
    align-items: center;
    padding: 4rem;
    background: var(--bg-color);
    position: relative;
    z-index: 2;
}

.content-inner {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* Typography & Hero */
.hero-section {
    margin-bottom: 3rem;
}

.headline {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
}

.accent-text {
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Brand Teaser */
.brand-teaser {
    margin-bottom: 3.5rem;
    padding-inline-start: 1.5rem;
    border-inline-start: 2px solid var(--surface-border);
}

.brand-teaser blockquote {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: normal;
}

.brand-teaser blockquote p {
    margin-bottom: 0.75rem;
}

.brand-teaser blockquote p:last-child {
    margin-bottom: 0;
}

.brand-teaser strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Features */
.features-section {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-main);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

/* CTA Section */
.cta-section {
    margin-bottom: 4rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.microcopy {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 100px;
    padding: 0.35rem;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

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

.btn-primary {
    background: var(--text-main);
    color: var(--bg-color);
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: #d4d4d4;
    transform: scale(1.02);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(-4px); /* Moves left in RTL */
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-links p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--surface-border);
}

.social-icons a:hover {
    background: var(--text-main);
    color: var(--bg-color);
    transform: translateY(-3px);
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Design */
/* Tablet */
@media (max-width: 1024px) {
    .layout-container {
        flex-direction: column;
    }
    
    .visual-panel {
        min-height: 35vh;
        padding: 2rem;
    }
    
    .content-panel {
        max-width: 100%;
        padding: 3rem 2rem;
    }
    
    .headline {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .visual-panel {
        min-height: 25vh;
        padding: 1.5rem;
    }
    
    .content-panel {
        padding: 2rem 1.5rem;
    }

    .headline {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .subheadline {
        font-size: 1.1rem;
    }
    
    .brand-teaser {
        margin-bottom: 2.5rem;
    }
    
    .features-section {
        margin-bottom: 3rem;
    }
    
    .cta-section {
        margin-bottom: 3rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 16px;
        background: transparent;
        border: none;
        padding: 0;
        gap: 1rem;
    }
    
    .input-group:focus-within {
        box-shadow: none;
    }
    
    .input-group input {
        background: var(--surface);
        border: 1px solid var(--surface-border);
        border-radius: 100px;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: right;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}
