/* Sajdah landing page: tokens, atmosphere, hero, shared section chrome. */
:root {
    --bg-deep: #070b12;
    --bg-card: rgba(16, 22, 36, 0.7);
    --border: rgba(78, 203, 160, 0.08);
    --border-strong: rgba(78, 203, 160, 0.25);
    --emerald: #4ecba0;
    --emerald-deep: #2d8a6e;
    --gold: #c9a84c;
    --gold-soft: rgba(201, 168, 76, 0.15);
    --text: #e2e8f0;
    --text-muted: #8a9ab5;
    --glass: rgba(255, 255, 255, 0.03);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a { color: var(--emerald); }

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1000; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* Floating gradient orbs */
.orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(78, 203, 160, 0.08), transparent 70%); top: -200px; right: -200px; animation: float1 20s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%); bottom: 20%; left: -150px; animation: float2 25s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(78, 203, 160, 0.05), transparent 70%); top: 50%; right: -100px; animation: float3 18s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-60px, 40px); } 66% { transform: translate(30px, -30px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(50px, -40px); } 66% { transform: translate(-30px, 50px); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, -60px); } }

/* Scroll and hero animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-anim { opacity: 0; animation: heroFadeIn 0.8s ease forwards; }
.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.3s; }
.hero-anim-3 { animation-delay: 0.5s; }
.hero-anim-4 { animation-delay: 0.7s; }
.hero-anim-5 { animation-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; transition: none; }
    .hero-anim { opacity: 1; animation: none; }
    .orb { animation: none !important; }
}

.page-content { position: relative; z-index: 1; }

.skip-link { position: absolute; top: -80px; left: 16px; z-index: 2000; background: var(--emerald); color: #04130d; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Top bar: site link + language switcher */
.lang-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 16px 24px; position: relative; max-width: 960px; margin: 0 auto;
}
.top-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.top-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.top-links a:hover { color: var(--emerald); }
.lang-btn {
    background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 10px; color: var(--emerald);
    font-size: 14px; font-weight: 500; font-family: inherit;
    min-height: 40px; padding: 8px 16px; cursor: pointer;
    display: flex; align-items: center; gap: 6px; transition: background 0.2s, border-color 0.3s;
}
.lang-btn:hover { background: rgba(78, 203, 160, 0.1); border-color: rgba(78, 203, 160, 0.2); }
.lang-btn svg { width: 16px; height: 16px; fill: currentColor; }
.lang-dropdown {
    display: none; position: absolute; top: 100%; right: 24px;
    background: rgba(16, 22, 36, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 203, 160, 0.1); border-radius: 12px; padding: 8px 0;
    min-width: 180px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-option {
    display: block; width: 100%; text-align: left; padding: 10px 18px; color: var(--text-muted);
    font-size: 14px; cursor: pointer; background: none; border: none; font-family: inherit; text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: rgba(78, 203, 160, 0.08); color: var(--text); }
.lang-option.active { color: var(--emerald); font-weight: 600; }

/* Hero */
.hero {
    text-align: center; padding: 48px 24px 72px; position: relative; min-height: 92vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: min(800px, 100%); height: 800px; pointer-events: none;
    background: radial-gradient(circle, rgba(45, 138, 110, 0.12) 0%, transparent 70%);
}
.app-icon {
    width: 110px; height: 110px; background: #0d1a2d; border-radius: 26px; display: block;
    margin: 0 auto 28px; object-fit: cover;
    box-shadow: 0 8px 40px rgba(45, 138, 110, 0.35), 0 0 80px rgba(78, 203, 160, 0.1);
}
.news-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500; text-decoration: none;
    color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(201, 168, 76, 0.3);
    transition: border-color 0.2s, transform 0.2s;
}
.news-pill:hover { border-color: var(--gold); transform: translateY(-1px); }
.news-pill b { background: var(--gold); color: #1b1407; border-radius: 100px; padding: 1px 8px; font-size: 12px; }
.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 64px; font-weight: 700;
    margin-bottom: 16px; letter-spacing: -1px; color: var(--text); line-height: 1.1;
}
.hero h1 .brand {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero .tagline { font-size: 20px; color: var(--text-muted); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }

.separator { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px auto; max-width: 200px; }
.separator::before, .separator::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 203, 160, 0.3), transparent);
}
.separator .diamond { width: 8px; height: 8px; background: var(--emerald); transform: rotate(45deg); opacity: 0.6; }

.badge {
    display: inline-block; padding: 8px 20px; background: rgba(78, 203, 160, 0.08);
    border: 1px solid rgba(78, 203, 160, 0.15); border-radius: 24px; color: var(--emerald);
    font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
}

/* App Store call to action */
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
.appstore-link { display: inline-block; border-radius: 14px; transition: filter 0.3s, transform 0.3s; }
.appstore-link:hover { filter: brightness(1.1) drop-shadow(0 0 24px rgba(78, 203, 160, 0.35)); transform: translateY(-2px); }
.appstore-link img { display: block; height: 60px; width: auto; }
.cta-note { color: var(--text-muted); font-size: 14px; }

/* Section headings */
.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 36px; font-weight: 700;
    text-align: center; margin-bottom: 48px; color: var(--text); line-height: 1.2;
}
.section-heading-decorated { display: flex; align-items: center; justify-content: center; gap: 20px; }
.section-heading-decorated::before, .section-heading-decorated::after {
    content: ''; width: 60px; height: 1px; flex-shrink: 0;
    background: linear-gradient(90deg, transparent, rgba(78, 203, 160, 0.3));
}
.section-heading-decorated::after { background: linear-gradient(90deg, rgba(78, 203, 160, 0.3), transparent); }
.section-intro { text-align: center; color: var(--text-muted); font-size: 17px; max-width: 600px; margin: -28px auto 40px; line-height: 1.7; }

.card {
    background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(78, 203, 160, 0.08); }

.cta-btn {
    display: inline-block; padding: 14px 32px; border-radius: 12px; text-decoration: none;
    background: linear-gradient(135deg, var(--gold), #a88a3a); color: #fff;
    font-size: 16px; font-weight: 600; font-family: inherit;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3); }
.text-link { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(78, 203, 160, 0.35); padding-bottom: 2px; }
.text-link:hover { border-color: var(--emerald); }
