/* ============================================================
   REEKIA — Global Stylesheet
   ============================================================ */

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --white: #FFFFFF;
    --off-white: #F8F8F6;
    --black: #1A1A2E;
    --gold: #D4A843;
    --gold-light: #F5E6C4;
    --gold-hover: #C49A3A;
    --gray-text: #6B7280;
    --gray-border: #E5E7EB;
    --gray-light: #F3F4F6;
    --green: #10B981;
    --red: #EF4444;
    --font-display: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container: 1200px;
    --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-border);
}

.navbar.navbar-solid {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-border);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo .logo-img {
    height: 48px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: var(--gray-text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover { color: var(--black); }
.navbar-links a.active { color: var(--black); font-weight: 600; }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle svg { color: var(--black); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--gray-border);
}

.mobile-menu .btn {
    margin-top: 16px;
    justify-content: center;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-ghost { background: transparent; color: var(--gray-text); }
.btn-ghost:hover { color: var(--black); background: var(--gray-light); }

.btn-primary { background: var(--gold); color: var(--black); font-weight: 700; }
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3); }

.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--gray-border); }
.btn-outline:hover { border-color: var(--black); background: var(--black); color: white; }

.btn-white { background: var(--white); color: var(--black); font-weight: 700; }
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); }

.btn-ghost-light { background: transparent; color: rgba(255, 255, 255, 0.8); border: 1.5px solid rgba(255, 255, 255, 0.2); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); color: white; background: rgba(255, 255, 255, 0.05); }

.btn-large { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* ============ SECTION HELPERS ============ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-text);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 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; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============ BROWSER FRAME ============ */
.browser-frame {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-border);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 16px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-light);
    border-bottom: 1px solid var(--gray-border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-border);
}

.browser-dot:nth-child(1) { background: #FCA5A5; }
.browser-dot:nth-child(2) { background: #FCD34D; }
.browser-dot:nth-child(3) { background: #6EE7B7; }

.browser-url {
    flex: 1;
    margin-left: 8px;
    padding: 4px 12px;
    background: var(--white);
    border-radius: 6px;
    font-size: 11px;
    color: var(--gray-text);
    font-family: monospace;
}

.browser-frame img {
    width: 100%;
    display: block;
}

/* ============ STATUS ICONS ============ */
.status-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #D1FAE5;
}
.status-yes svg { width: 16px; height: 16px; color: var(--green); }

.status-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FEE2E2;
}
.status-no svg { width: 16px; height: 16px; color: var(--red); }

.status-partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FEF3C7;
}
.status-partial svg { width: 16px; height: 16px; color: #D97706; }

/* ============ STORE BUTTONS ============ */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: white;
    color: var(--black);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.store-btn svg { width: 22px; height: 22px; }

.store-btn small {
    font-size: 11px;
    font-weight: 400;
    color: var(--gray-text);
    display: block;
    line-height: 1;
}

/* ============ FOOTER ============ */
.footer {
    padding: 64px 0 32px;
    background: #0F0F1A;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand .navbar-logo { color: white; }

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }

.footer-column ul a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-column ul a:hover { color: white; }

.footer-apps {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s;
}
.footer-app-badge:hover { background: rgba(255, 255, 255, 0.12); }
.footer-app-badge svg { width: 16px; height: 16px; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left { font-size: 13px; }

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

.footer-bottom-badges span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.12); color: white; }
.footer-social a svg { width: 18px; height: 18px; }

/* Footer minimal variant */
.footer-mini {
    padding: 32px 0;
    background: #0F0F1A;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-mini a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-mini a:hover { color: white; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .navbar-actions .btn-ghost { display: none; }
    .mobile-toggle { display: block; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-badges { justify-content: center; }
    .footer-social { justify-content: center; }
}
