/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #854B5B;
    --secondary-color: #B9C176;
    --accent-color: #FEE886;
    --neutral-color: #918F79;
    --white: #ffffff;
    --light-bg: #fafafa;
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-large: 20px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 80px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(181, 193, 118, 0.1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9d5a6b 100%);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.coming-soon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(145, 143, 121, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.hero-preview {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.hero-preview:hover {
    transform: scale(1.02);
}

/* Keep old phone-mockup for backward compatibility */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    animation: float 3s ease-in-out infinite;
}

.app-preview {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(254, 232, 134, 0.1) 100%);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.btn-main {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-sub {
    font-size: 0.85rem;
    opacity: 0.9;
}

.app-store-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(145, 143, 121, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.apple-logo {
    font-size: 1.5rem;
}

.beta-notice {
    background: rgba(133, 75, 91, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(133, 75, 91, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .hero-mockup {
        width: 320px;
        height: 240px;
    }
    
    .hero-preview {
        max-width: 320px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 250px;
    }
    
    .app-preview {
        width: 120px;
        height: 120px;
    }
    
    .download-buttons {
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons {
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-mockup {
        width: 280px;
        height: 210px;
    }
    
    .hero-preview {
        max-width: 280px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 200px;
    }
    
    .app-preview {
        width: 100px;
        height: 100px;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
}