/* Todi Design System - styles.css */
:root {
    --primary-color: #6C63FF;
    --primary-gradient: linear-gradient(135deg, #6C63FF 0%, #8A84FF 100%);
    --secondary-color: #FF6584;
    --dark-bg: #0D0D0D;
    --light-bg: #F8F8FF;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-700: #374151;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --font-heading: 'Tajawal', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

[dir="rtl"] {
    --font-primary: var(--font-heading);
    text-align: right;
}

[dir="ltr"] {
    --font-primary: var(--font-body);
    text-align: left;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Sections */
section {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.mixed-section {
    background: linear-gradient(to bottom, var(--dark-bg) 50%, var(--light-bg) 50%);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-ghost:hover {
    background: rgba(108, 99, 255, 0.05);
}

.dark-section .btn-ghost {
    border-color: var(--white);
    color: var(--white);
}

/* Transitions */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Multilingual display */
body[data-lang="ar"] {
    --font-primary: var(--font-heading);
}

body[data-lang="en"] {
    --font-primary: var(--font-body);
}

/* Sticky Header Blur */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-section header {
    background: rgba(13, 13, 13, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
