/* 
  "Professional Oasis" Design System
  Crisp, Professional, and Feature-Focused Landing Page
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #10b981; /* Emerald Green */
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --background: #ffffff;
    --section-bg: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding: 100px 0 140px;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 40%);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--primary);
}

.hero .tagline {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 48px;
}

/* Store Buttons Hub */
.download-hub {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    min-width: 220px;
}

.btn-store:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-store i { font-size: 1.75rem; }
.btn-store .btn-text { text-align: right; }
.btn-store .top-t { font-size: 0.75rem; opacity: 0.8; }
.btn-store .bot-t { font-size: 1.1rem; font-weight: 700; }

.hero-mockup {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-mockup img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.2);
}

/* Features Breakdown */
.section { padding: 120px 0; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 64px;
}

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

.feature-card {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

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

.feature-card p {
    color: var(--text-muted);
}

/* Explanatory Sections */
.explain-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 160px;
}

.explain-row:nth-child(even) { flex-direction: row-reverse; }

.explain-content { flex: 1; }
.explain-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.explain-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.explain-visual {
    flex: 1;
    background: var(--section-bg);
    border-radius: 32px;
    padding: 60px;
    display: flex;
    justify-content: center;
}

.explain-visual i {
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.8;
}

/* Ticker 3.0 (Subtle) */
.ticker {
    background: var(--section-bg);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-content {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 32px;
}

.ticker-stat h4 { font-size: 2.5rem; color: var(--primary); font-weight: 900; }
.ticker-stat p { font-weight: 600; color: var(--text-muted); }

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #111827;
    color: #fff;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a { color: #9ca3af; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: #fff; }

/* Community Showcase & Cards */
.post-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.post-meta i {
    color: var(--primary);
}

.answer-box {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
    transition: var(--transition);
}

.answer-box:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.1);
    transform: translateX(-4px);
}

.post-card {
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px) scale(1.01);
}

.loading-state {
    padding: 60px;
    background: #fff;
    border-radius: 24px;
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; }
    .explain-row { flex-direction: column !important; gap: 40px; text-align: center; }
    .hero h1 { font-size: 2.25rem; }
    .container { padding: 0 16px; }
}

/* Scroll Animations Fixes */
.section, .hero-content, .feature-card, .post-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}