:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #0f172a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--slate-900);
    background-color: var(--white);
    overflow-x: hidden;
}

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

.lang-switcher {
    display: flex;
    background: var(--slate-100);
    padding: 4px;
    border-radius: 8px;
    gap: 2px;
}

.lang-button {
    background: transparent;
    border: none;
    color: var(--slate-600);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.lang-button.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

main {
    margin-top: 64px;
}

/* Hero Section */
.hero {
    padding: 80px 2rem;
    background: radial-gradient(circle at top right, #f5f3ff, #ffffff);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--slate-600);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
}

/* Phone Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1e293b;
    border-radius: 40px;
    padding: 12px;
    border: 4px solid #334155;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.25);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--primary);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-weight: 700;
}

.app-calendar {
    padding: 20px;
    flex-grow: 1;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cal-day {
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    color: var(--slate-600);
}

.cal-day.h { background: #fee2e2; color: #ef4444; }
.cal-day.b { background: #e0e7ff; color: var(--primary); border: 2px dashed var(--primary); }

.app-suggestion {
    background: #dcfce7;
    color: #166534;
    padding: 15px;
    margin: 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

/* Features */
section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

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

.feature-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Showcase Section (Comparator) */
.showcase-section {
    background: var(--slate-900);
    color: white;
    border-radius: 40px;
    padding: 100px 4rem;
    margin: 100px auto;
    max-width: calc(1200px - 4rem);
    width: calc(100% - 4rem);
}

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

.showcase-text h2 { text-align: left; margin-bottom: 1.5rem; color: white; }
.showcase-text p { font-size: 1.25rem; color: var(--slate-200); }

.comparison-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.country-panel {
    flex: 1;
}

.country-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.holiday-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.h-name { font-weight: 700; font-size: 1.1rem; }
.h-date { font-size: 0.9rem; color: var(--slate-200); margin-top: 0.5rem; }

.vs-divider {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
}

/* Personalization */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.why-item { text-align: center; }
.why-item i { font-size: 2rem; color: var(--secondary); margin-bottom: 1.5rem; }

/* Privacy */
.privacy-section { 
    background: var(--slate-50); 
    border-radius: 40px; 
    padding: 80px 4rem; 
    margin: 100px auto;
    max-width: calc(1200px - 4rem);
    width: calc(100% - 4rem);
}
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.privacy-item h3 { color: var(--primary); margin-bottom: 1rem; }
.privacy-note { grid-column: 1 / -1; font-style: italic; text-align: center; margin-top: 2rem; }

/* Contact */
.contact { text-align: center; }
.contact p { font-size: 1.25rem; color: var(--slate-600); margin-bottom: 2rem; }

footer { padding: 4rem 2rem; text-align: center; border-top: 1px solid var(--slate-200); }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* RTL */
[dir="rtl"] .showcase-text h2 { text-align: right; }
[dir="rtl"] .hero-mockup { animation: slideInLeft 1s ease; }

@media (max-width: 968px) {
    .hero-container, .showcase-container, .privacy-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-mockup { margin-top: 3rem; }
    .showcase-text h2 { text-align: center; }
    .showcase-section, .privacy-section { padding: 60px 2rem; margin: 40px 1.5rem; }
}
