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

:root {
    --background: 240 10% 8%;
    --foreground: 0 0% 98%;
    --card: 240 10% 10%;
    --card-foreground: 0 0% 98%;
    --primary: 340 85% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 8% 15%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 8% 15%;
    --muted-foreground: 0 0% 65%;
    --accent: 65 70% 55%;
    --accent-foreground: 240 10% 8%;
    --border: 0 0% 88%;
    --input: 0 0% 88%;
    --ring: 200 90% 40%;
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body[dir="rtl"] {
    text-align: right;
}

body[dir="ltr"] {
    text-align: left;
}

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

.icon {
    display: inline-block;
    vertical-align: middle;
}

/* Header */
.header {
    background-color: hsl(var(--primary));
    padding: 1.25rem 1.5rem;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    text-decoration: none;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .nav-mobile {
        display: none !important;
    }
    .mobile-menu {
        display: none !important;
    }
}

.nav-link {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline-end: 1rem;
    border-inline-end: 1px solid hsl(var(--primary-foreground) / 0.2);
}

.lang-btn {
    background: none;
    border: none;
    color: hsl(var(--primary-foreground) / 0.7);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.25rem;
}

.lang-btn:hover {
    color: hsl(var(--primary-foreground));
}

.lang-btn.active {
    color: hsl(var(--primary-foreground));
    font-weight: 600;
}

.lang-separator {
    color: hsl(var(--primary-foreground) / 0.4);
}

/* Mobile Navigation */
.nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hamburger-btn {
    background: none;
    border: none;
    color: hsl(var(--primary-foreground));
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: hsl(var(--primary));
    border-left: 1px solid hsl(var(--primary-foreground) / 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

body[dir="rtl"] .mobile-menu {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid hsl(var(--primary-foreground) / 0.2);
    transform: translateX(-100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2rem 1.5rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-menu-link {
    font-size: 1.125rem;
    color: hsl(var(--primary-foreground) / 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: hsl(var(--primary-foreground));
}

.mobile-lang-section {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.mobile-lang-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--primary-foreground) / 0.9);
    font-size: 0.875rem;
}

.mobile-lang-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-inline-start: 2rem;
}

.mobile-lang-btn {
    background: none;
    border: none;
    color: hsl(var(--primary-foreground) / 0.7);
    font-size: 1.125rem;
    cursor: pointer;
    text-align: start;
    padding: 0.25rem;
    transition: color 0.2s;
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    color: hsl(var(--primary-foreground));
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.625rem 1.5rem;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.625rem 1.5rem;
}

.btn-secondary:hover {
    opacity: 0.8;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 3rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 5rem 1.5rem;
    background-color: hsl(var(--background));
}

.hero-content {
    max-width: 80rem;
}

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

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.hero-stats {
    background-color: hsl(var(--primary) / 0.05);
    border-radius: 1rem;
    padding: 3rem;
    border: 2px solid hsl(var(--primary) / 0.2);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.stat-text {
    color: hsl(var(--muted-foreground));
}

/* Features Section */
.features {
    padding: 4rem 1.5rem;
    background-color: hsl(var(--secondary));
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: hsl(var(--background));
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Steps Section */
.steps {
    padding: 4rem 1.5rem;
    background-color: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background-color: hsl(var(--primary) / 0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-inline-start: 4px solid hsl(var(--primary));
}

.step-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Footer */
.footer {
    background-color: hsl(var(--secondary));
    padding: 2rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-link {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Page Content */
.page-content {
    padding: 5rem 1.5rem;
    flex: 1;
}

.page-container {
    max-width: 56rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.text-lg {
    font-size: 1.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.italic {
    font-style: italic;
}

.divider {
    height: 1px;
    background-color: hsl(var(--border));
    margin: 1.5rem 0;
}

/* Email Link */
.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: hsl(var(--secondary));
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: hsl(var(--foreground));
    transition: background-color 0.2s;
    width: fit-content;
    margin-top: 1rem;
}

.email-link:hover {
    background-color: hsl(var(--secondary) / 0.8);
}

.email-link .icon {
    color: hsl(var(--primary));
}

/* Legal Sections */
.legal-section {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.legal-list {
    list-style: disc;
    padding-inline-start: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
}

.link-primary {
    color: hsl(var(--primary));
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

/* Utility Classes */
.hidden {
    display: none;
}
