/* style.css — Obsidian Luxe-Minimalist Design System for Salah Momin */

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

:root {
    /* DARK THEME (Obsididan Grade) */
    --primary: #F59E0B;
    --secondary: #0D0D0D; /* Deep Obsidian, NOT #000000 */
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(13, 13, 13, 0.85); /* Matched to obsidian base */
    --transition-grace: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: light) {
    :root {
        --secondary: #FFFFFF;
        --text-primary: #111827;
        --text-secondary: #64748B;
        --glass-bg: rgba(0, 0, 0, 0.03);
        --glass-border: rgba(0, 0, 0, 0.08);
        --nav-bg: rgba(255, 255, 255, 0.8);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-top: 140px;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

/* Header & Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.4rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--nav-bg);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--primary);
    letter-spacing: -1.2px;
}

.logo span { color: var(--text-primary); }

.cta-button {
    background: var(--primary);
    color: #3E2723;
    padding: 0.8rem 1.7rem;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--transition-grace);
    display: inline-block;
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 12px;
}

.cta-button:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
}

/* Animations */
@keyframes reveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.grace-reveal {
    animation: reveal 1.2s var(--transition-grace) forwards;
}

/* Hero Section Area */
.main-content {
    max-width: 1100px;
    width: 90%;
    text-align: center;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 10vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -3.5px;
    font-weight: 800;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* Features Typography Row Layout (No Cards) */
.features-list {
    margin-top: 5rem;
    margin-bottom: 8rem;
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
    text-align: left;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.feature-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-description {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 100%;
}

/* Footer */
footer {
    padding: 6rem 5% 4rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
    text-align: center;
}

.footer-links {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.copy { 
    font-size: 0.8rem; 
    color: var(--text-secondary); 
    opacity: 0.6; 
}

/* Responsive Editorial Row */
@media (max-width: 950px) {
    .features-list { gap: 3rem; }
}

@media (max-width: 768px) {
    body { padding-top: 100px; }
    
    h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); letter-spacing: -2.5px; }
    
    .features-list { 
        flex-direction: column;
        gap: 5rem; 
        margin-top: 6rem; 
        text-align: left;
    }
    
    .feature-num { margin-bottom: 0.8rem; }
    .feature-content h3 { font-size: 1.8rem; letter-spacing: -1px; }
    
    .footer-links { flex-direction: column; gap: 2.5rem; }
}
