/* home/home.css — JumaAI Landing Page Styles */

/* ── Google Font ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────────────────── */
:root {
    --primary:     #2563eb;
    --primary-dk:  #1d4ed8;
    --primary-lt:  #eff6ff;
    --accent:      #10b981;
    --accent-dk:   #059669;
    --dark:        #0f172a;
    --dark-2:      #1e293b;
    --muted:       #64748b;
    --surface:     #f8fafc;
    --border:      rgba(0,0,0,0.07);
    --radius-lg:   16px;
    --radius-xl:   24px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.1);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; }

/* ── Navbar ───────────────────────────────────────────────────────────── */
.lp-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}
.lp-navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0.6rem 0;
}
.nav-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    opacity: 0.9;
}
.nav-links a:hover { opacity: 1; }
.lp-navbar.scrolled .nav-links a { color: var(--dark-2); }
.btn-nav-cta {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.btn-nav-cta:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}
.lp-navbar.scrolled .btn-nav-cta {
    background: var(--primary);
    border-color: var(--primary);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    top: -200px; right: -150px;
    background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
}
.hero-orb-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: 5%;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    color: #93c5fd;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    color: #fff;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(37,99,235,0.4);
    transition: all 0.25s ease;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.5);
    color: #fff;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
}
.hero-visual {
    position: relative;
}
.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.stat-bubble {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-bubble .val {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-bubble .lbl {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}
.bubble-1 { top: -20px;  right: -30px; animation: floatCard 5s ease-in-out infinite 0.5s; }
.bubble-2 { bottom: 20px; left: -30px;  animation: floatCard 7s ease-in-out infinite 1s; }

/* ── Section Base ─────────────────────────────────────────────────────── */
.lp-section {
    padding: 5rem 0;
}
.lp-section-alt {
    background: var(--surface);
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-lt);
    color: var(--primary);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
}

/* ── Feature Cards ────────────────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: all 0.25s;
}
.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Stats ────────────────────────────────────────────────────────────── */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    padding: 4rem 0;
}
.stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}
.stat-item .number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-item .label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}
.stat-divider {
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* ── Tenant Cards ─────────────────────────────────────────────────────── */
.tenant-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: default;
}
.tenant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.tenant-dot {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    font-weight: 700;
}
.tenant-card h6 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 2px;
}
.tenant-card .tenant-url {
    font-size: 0.75rem;
    color: var(--muted);
    font-family: 'SFMono-Regular', Consolas, monospace;
}
.level-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(16,185,129,0.1) 0%, transparent 60%);
}
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 30px rgba(37,99,235,0.4);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37,99,235,0.5);
    color: #fff;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.lp-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 2rem;
}
.lp-footer .brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.lp-footer .footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.lp-footer .footer-links a:hover { color: #fff; }
.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 2rem 0 1.5rem;
}

/* ── Scroll Animation ─────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Loader ───────────────────────────────────────────────────────────── */
#pageLoader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
#pageLoader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 7rem 0 4rem; }
    .lp-section   { padding: 3.5rem 0; }
    .stat-divider { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); }
    .hero-visual  { margin-top: 3rem; }
}
