/* Variables */
:root {
    --bg-color: #F9F8F6;
    --text-color: #1A1A1A;
    --primary-color: #1A3C34;
    --primary-light: #2A5A4E;
    --accent-color: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #E0DFDB;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'DM Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

h1, h2, h3 {
    font-family: var(--serif-font);
    line-height: 1.2;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-weight: 500;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26, 60, 52, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 52, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    display: inline-block;
}

/* Hero */
.hero {
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--primary-color);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
}

/* Phone Mockup */
.phone-mockup {
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 8px solid #333;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    overflow: hidden;
}

.phone-mockup img {
    border-radius: 28px;
    width: 100%;
}

/* Features */
.features {
    padding: 8rem 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    background-color: var(--bg-color);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* Showcase */
.showcase {
    padding: 8rem 0;
}

.showcase-item {
    margin-bottom: 10rem;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse .showcase-content {
    direction: ltr;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.showcase-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.showcase-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

/* CTA */
.cta {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--serif-font);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    color: #666;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Language Switcher */
.lang-switcher {
    position: relative;
}

#lang-btn {
    background: none;
    border: none;
    font-family: var(--sans-font);
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 120px;
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

.lang-dropdown a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}