/* ===============================
   Pocket Note - Landing Page Styles
   =============================== */

.landing-page {
    background-color: var(--bs-body-bg);
    overflow-x: hidden;
}

.text-purple { color: #8b5cf6 !important; }
.bg-purple-subtle { background-color: rgba(139, 92, 246, 0.12) !important; }

/* ---------- Navbar ---------- */
.landing-navbar {
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.landing-logo {
    height: 34px;
    width: auto;
}

.landing-navbar .nav-link {
    font-weight: 500;
    color: var(--bs-body-color);
}

.landing-navbar .nav-link.active {
    color: #6366f1;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero-section {
    padding: 4rem 0 3rem;
    background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent 60%);
}

.hero-badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--bs-secondary-color);
    max-width: 480px;
    margin-bottom: 1.75rem;
}

.avatar-stack {
    display: flex;
}

.avatar-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bs-body-bg);
    margin-left: -10px;
}

.avatar-dot:first-child {
    margin-left: 0;
}

/* ---------- App preview mockup (hero right side) ---------- */
.app-preview-window {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.app-preview-titlebar {
    background-color: #f1f3f9;
    padding: 0.6rem 1rem;
    display: flex;
    gap: 6px;
}

.app-preview-titlebar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.app-preview-body {
    display: flex;
    min-height: 320px;
    color: #212529;
}

.app-preview-sidebar {
    width: 160px;
    flex-shrink: 0;
    background-color: #f8f9fc;
    padding: 1rem;
    border-right: 1px solid rgba(0,0,0,0.06);
}

.preview-mini-logo {
    height: 22px;
}

.preview-nav-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.4rem;
    color: #555;
    margin-bottom: 2px;
}

.preview-nav-item i { margin-right: 6px; }

.preview-nav-item.active {
    background-color: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    font-weight: 600;
}

.app-preview-main {
    flex: 1;
    padding: 1rem;
}

.preview-note-card {
    border-radius: 0.6rem;
    padding: 0.6rem 0.7rem;
    height: 100%;
}

.preview-note-text {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 2px;
}

/* ---------- Feature strip ---------- */
.feature-strip {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 2rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ---------- Feature detail cards ---------- */
.feature-detail-card {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

/* ---------- Phone mockup ---------- */
.phone-mockup {
    width: 240px;
    background-color: #111827;
    border-radius: 2.2rem;
    padding: 12px;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.25);
}

.phone-notch {
    width: 60px;
    height: 6px;
    background: #374151;
    border-radius: 999px;
    margin: 0 auto 10px;
}

.phone-screen {
    background-color: #ffffff;
    color: #212529;
    border-radius: 1.4rem;
    padding: 1rem 0.75rem;
    min-height: 380px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .app-preview-sidebar { display: none; }
    .hero-section { padding: 2.5rem 0 2rem; text-align: left; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .app-preview-body { min-height: 260px; }
    .phone-mockup { width: 200px; }
    .phone-screen { min-height: 300px; }
    .feature-strip { padding: 1.25rem; }
}
